Case study: DocGen replaces twelve compiled Dynamics 365 templates
A multi-office firm was paying roughly €4,750 and a development cycle every time a document changed. Here is what moved, what it cost, and what we would tell you before you copy it.
The client is anonymised at their request. Everything below — the estate, the template count, the turnaround and the arithmetic — is real; the firm's identity, its branding and its remittance details are not disclosed. A named reference is available under NDA at the point in a conversation where it matters.
The €4,750-per-change figure used in the comparison is a modelled input drawn from the client's own historical change costs, not an industry benchmark. It is the number the whole argument rests on, so we say where it came from.
The firm
A multi-office professional services firm running a vertical Dynamics 365 solution. Documents — statements, invoices and client correspondence — were generated by a compiled templating stack: Aspose.Words driving LINQ-based templates, built into the application itself.
The problem was not the documents. It was the release.
The output was fine. What the firm could not live with was what it took to change it.
- A partner asks for a line to move on a statement
- A platform consultant edits compiled C# templating code
- 15–40 hours of build, test and deploy for that one change
- Billed time and materials, per change
- The change waits in the vendor's release queue
- An Aspose.Words OEM licence and annual support on top
- A partner asks for a line to move on a statement
- Someone edits template.html — Handlebars markup
- Preview locally: npm run preview <code>
- Ship by seed — an idempotent alternate-key upsert, no code release
- Live in every channel that calls the API
- Included template changes depend on the tier: none on Essencial, one a year on Profissional, one a quarter on Enterprise
The change is that a template stopped being code. Under DocGen a template is configuration: Handlebars markup plus FetchXML datasets, held as rows in the firm's own Dataverse. Editing one is an edit, not a build.
What was migrated
| Measure | Result |
|---|---|
| Firm size | Multi-office |
| Legacy templates converted | 12 |
| Change turnaround, before → after | Weeks → days |
| Compiled-code releases required per template change | 0 |
| Azure resources the firm now runs for it | 1 container app |
The engine runs scale-to-zero in the firm's own Azure subscription, billed by Microsoft directly to them at under €900 a year. Nothing about the documents leaves their tenant, and nothing is stored unless a call asks for it.
The arithmetic, at six changes a year
Six is what this firm actually averaged — a rebrand, a new remittance block, a regulatory line, and a few fields partners wanted moved.
| Line | Compiled templating | With DocGen — Essencial / Profissional / Enterprise |
|---|---|---|
| Platform / licence | — | €1,200 / €2,400 / €4,800 |
| Changes included | 0 | none / 1 per year / 1 per quarter |
| Chargeable changes | 6 × ~€4,750 | 6 × €750 / 5 × €750 / 2 × €750 |
| Year total | €28,500 | €5,700 / €6,150 / €6,300 |
The published comparison is the Enterprise licence: €4,800 a year against €28,500, which is €23,700 (83% less). The table above also lists chargeable template changes on top of each plan. Those fees are not part of that comparison.
The number the firm cared about more was the one that does not appear in the table: there is no longer a development queue between a wrong invoice and a corrected one.
What we would tell you before you copy this
- It is worth it because the documents change. A firm whose templates have not moved in three years will not see this return. The saving is entirely in change frequency.
- The Azure subscription is yours to run. One scale-to-zero container app — but it is on your bill and in your subscription, and the first request after an idle period cold-starts in 10–20 seconds.
- Business logic stays out of templates by design. Totals, aging buckets and credit-balance detection live in the Enricher, server side. That is what keeps a template safe to hand to someone who is not a developer — and it means genuinely new logic is a chargeable change rather than a text edit.
- Migration is real work. Twelve templates were converted, not lifted. That is a fixed-price line on the price list, quoted before you approve it.
See it against your own documents
The most useful version of this conversation is not a demo tenant. Send us one of the documents you generate today and roughly how often it changes, and we will tell you what it would take to move it — including if the answer is that it is not worth moving.
SSS DocGen →
The product page, with the full rate card, the engine architecture, sample renders and a recorded template change.