Building a full-featured DOCX template
Prepare the DOCX source
Author your template in Microsoft Word or another DOCX editor. The invoice example illustrates merge fields, nested objects, and a repeating table:
Save the file as invoice.docx. Supply data matching its field names, including the company object, the invoice object and invoice.items array. Review merge fields, conditionals, and repeating tables when adapting the source.
Upload the template
- In Studio, open the menu beside New and select Template.
- Upload the DOCX file in Create New Template.
- Enter a Title, optionally add a Description, and click Create.

Current template upload dialog. Current production interface.
DOCX content is authored in your word processor; it does not open the HTML or PDF field editor. To change the source, use the current template editing workflow.
Generate and inspect output
Use the current API generation guide with the saved template and its merge data. Poll processing status and download the completed document as described there. Check the generated invoice for missing fields, repeated rows, pagination, and image sizing before using real customer data. The historical SDK calls are not the current API walkthrough.
Updated 18 days ago