V2 - Create Draft and Finalized Customer invoice
Deprecation Notice
The Create Draft Invoices endpoint is now deprecated as part of the Merge Project. For more details on this initiative, please refer to our documentation.
Enhanced Endpoint Functionality
The endpoint previously known as "Create a finalized invoice" has been renamed to "Create a customer invoice" and now supports the creation of both draft and finalized invoices through a unified interface.
New Functionality
A new boolean attribute draft
has been introduced, which allows you to specify whether the invoice should be created as a draft. When set to true
, the invoice will be created in draft status.
Limitations for Draft Invoices
Please note the following restrictions for draft invoices:
- It is not possible to set a
transaction_reference
on draft invoices - It is not possible to set invoice_lines
imputation_dates
on draft invoices
Backward Compatibility
Important: This update maintains full backward compatibility with your existing implementation for creating finalized invoices. No changes to your current code are required if you're only creating finalized invoices.