TemplateVersion: v3
Get an template
GET/invoices/template/{templateId}
API to get an template by template id
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Scope:
invoices/ template. readonlyAuth methods:
OAuthPrivate IntegrationToken types:
Sub-Account TokenAgency TokenRequest
Headers
Versionstringrequired
API Version
Available options
v3Path Parameters
templateIdstringrequired
Template Id
Example:
6578278e879ad2646715ba9cQuery Parameters
altIdstringrequired
location Id / company Id based on altType
Example:
6578278e879ad2646715ba9caltTypestringrequired
Alt Type
Available options
locationExample:
locationResponse
Successful response
_idstringrequired
Template Id
Example:
6578278e879ad2646715ba9caltIdstringrequired
Location Id or Agency Id
Example:
6578278e879ad2646715ba9caltTypestringrequired
Available options
locationnamestringrequired
Name of the Template
Example:
New TemplatebusinessDetailsobjectrequired
Business Details
currencystringrequired
Currency
Example:
USDdiscountobject
Discount
itemsstring[]required
Invoice Items
invoiceNumberPrefixstring
prefix for invoice number
Example:
INV-totalnumberrequired
Total Amount
Example:
999createdAtstringrequired
created at
Example:
2023-12-12T09:27:42.355ZupdatedAtstringrequired
updated at
Example:
2023-12-12T09:27:42.355Z