Document templates allow you to customize the output of invoices, payments, and estimates.
More information on our template language is available here.
Returns a data template that you can fill in to use the CREATE action.
Creates a new payment. Use the template provided by the NEW action.
Returns a single template.
Updates a template.
Deletes a template.
If you delete one of the standard templates it will reset to it's original content.
<?xml version="1.0" encoding="UTF-8"?> <document_template> <content></content> <created_at></created_at> <has_been_modified read_only="true">false</has_been_modified> <is_default read_only="true">false</is_default> <name></name> <title></title> </document_template>
content |
This contains the template content.
All HTML entities will be escaped when provided to you via the API. |
---|---|
name |
Should be a unique identifier for this template.
Should not contain spaces. |
title | For email templates, this is the "subject" line. |