added
V2 - New Endpoint- Customer invoice templates
February 4th, 2025 by Integrations Squad
Customer Invoice Templates
-
New Endpoint: List Customer Invoice Templates
- A new endpoint is now available to retrieve all customer invoice templates for a company
- Endpoint:
GET /api/v2/customer_invoice_templates
- API Reference Documentation
-
Document Creation with
customer_invoice_template_id
- You can now create documents using templates by providing the
customer_invoice_template_id
field - The template ID can be obtained from the new list templates endpoint
- This feature is available for:
- You can now create documents using templates by providing the
-
Document Update with
customer_invoice_template_id
- Draft invoices can also be updated with a new template
- Api Reference Documentation
-
Updated Response Schema
- The
customer_invoice_template_id
field is now included in all the responses of endpoints for:- Customer Invoices
- Draft Invoices
- Credit Notes
- The
Example Usage
When creating or updating a document, include the template ID in your request:
{
"customer_invoice_template_id": "template_id_from_list_endpoint",
// ... other invoice fields
}