Skip to main content

Create Word templates for invoices

Zuora

Create Word templates for invoices

To create a new Invoice Template, see the following request and a sample of 200 response.

HTTP request:

POST https://rest.zuora.com/settings/invoice-templates

Request body:

{
  "name": "My new invoice template",
  "defaultTemplate": false,      
  "suppressZeroValueLine": false,
  "templateFileName": "Allbrighter - Invoice  Template - 2019 v1.1USD.doc",
  "base64EncodedTemplateFileContent": "0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP...",
  "templateFormat": "WORD",
  "templateCategory": "New"
}

The following fields are required in the request body:

  • name
  • base64EncodedTemplateFileContent

Response body:

{
  "name": "My new invoice template",
  "defaultTemplate": false,
  "suppressZeroValueLine": false,
  "templateFileName": "Allbrighter - Invoice  Template - 2019 v1.1USD.doc",
  "base64EncodedTemplateFileContent": "0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP...",
  "templateCategory": "New",
  "templateFormat": "WORD",
  "id": "2c92c0fa6d05a230016d19127a175840"
}