Get a specific Invoice Template

Knowledge Center > API > Settings API > Settings API tutorials > Get a specific Invoice Template

Get a specific 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 a specific Invoice Template, the Id of the specific Invoice Template is required as a path parameter. See the following request and a sample of 200 response.

HTTP request:

GET https://rest.zuora.com/settings/invoice-templates/{id}

Response body:

{
  "name": "System Default Template",
  "defaultTemplate": true,
  "suppressZeroValueLine": false,
  "templateFileName": "Zuora - Invoice  Template - 2016 v1.0 - USD - English (1).doc",
  "base64EncodedTemplateFileContent": "0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP...",
  "templateCategory": "New",
  "id": "bd5d1b5c07cfb36f20787340b4122184"
}

The template file content is supported as base64EncodedTemplateFileContent. To transfer a specific Invoice Template to another environment:

  1. Use this call to view the specific Invoice Template.
  2. Copy the value of the base64EncodedTemplateFileContent field in the 200 response body.
  3. Make a Create a new Invoice Template call in the target environment, pasting the value copied from step 2 into the base64EncodedTemplateFileContent field of the request body.
Last modified

Tags

This page has no custom tags.

Classifications

(not set)