Skip to content

Templates

API Endpoints

Create receipt template

Creates a new receipt template for a given organization

POST/{organizationId}/finance/receipts/templates

Get receipt template

Returns a specific receipt template with all of its details for a given organization

GET/{organizationId}/finance/receipts/templates/{templateId}

Update receipt template

Updates a specific receipt template for a given organization

POST/{organizationId}/finance/receipts/templates/{templateId}

Delete receipt template

Deletes a specific receipt template for a given organization

DELETE/{organizationId}/finance/receipts/templates/{templateId}

List receipt templates

Returns a list of receipt templates for a given organization

POST/{organizationId}/finance/receipts/templates/list

Get receipt template content

Returns the contents of a specific receipt template for a given organization

GET/{organizationId}/finance/receipts/templates/{templateId}/content

Update receipt template content

Updates the contents of a specific receipt template for a given organization

POST/{organizationId}/finance/receipts/templates/{templateId}/content

Update templates attachment

Updates the attachment of all receipt templates for a given organization

POST/{organizationId}/finance/receipts/templates/attachment

Restore receipt template content

Restores the contents of a specific receipt template to its default values for a given organization

POST/{organizationId}/finance/receipts/templates/{templateId}/content/restore