Create a new Invoice Template

Knowledge Center > API > Settings API > Settings API tutorials > Create a new Invoice Template

Create a new Invoice Template

Table of contents
No headers

Settings API is in Limited Availability. If you want to have access to the feature, submit a request at Zuora Global Support.

To get all Invoice Templates, 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"
}

 

Last modified

Tags

This page has no custom tags.

Classifications

(not set)