Skip to main content

Create a new Invoice Template

Zuora

Create a new Invoice Template

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",
  "templateFileName": "Allbrighter - Invoice  Template - 2019 v1.1USD.doc",
  "base64EncodedTemplateFileContent": "0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP...",
  "templateCategory": "New"
}

The following fields are required in the request body:

  • name
  • templateFileName
  • base64EncodedTemplateFileContent

Response body:

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