Global API
...
Request
Invoice

Create

2min

In Xero, the "Invoice" object includes Invoices, Bills, and Credit Notes. So, when creating the Invoice, set the field "Type" with the value "ACCREC".

Request
Response


Create and Send

In order to send a Xero Invoice via email after successful creation, use the 'emailInvoice' parameter in the 'requestJSON' section of the code provided for creating an Invoice. Simply pass it as shown in the create request example above.

Parameter




Updated 29 May 2024
Doc contributor
Doc contributor
Did this page help you?