E-Invoice API
API referenceTemplates

Get a template

The full template, as the engine receives it: `mustache` (the XHTML + Mustache source) and `base64` (name → base64 file map — the fonts and images the source references as `base64:<name>`). Not counted against your quota.

GET
/e-invoice/templates/{id}

Authorization

AuthorizationBearer <token>

Your API key as a bearer token: Authorization: Bearer of_live_…. An of_test_ key uses the sandbox — same URL, same templates.

In: header

Path Parameters

id*string

Template id (UUID), from the list. An unknown id — or one that is not a UUID — is a 404.

Formatuuid

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/e-invoice/templates/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "string",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "mustache": "string",  "base64": {    "property1": "string",    "property2": "string"  }}