Authorizations
This access token needs to be included in each of your request to the Chift API.
Query Parameters
Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled.
Indicate if payments linked to the invoice should be included in the response. By default payments are not included and the field payments is null.
true
, false
Indicate if invoice lines should be included in the response. By default invoice lines are not included when this requires extra requests on the target API.
true
, false
Indicate if partner (client/supplier) information should be included in the response. By default partner information is not included when it requires extra requests on the target API to be retrieved.
true
, false
Response
Successful Response
Specifies the type of invoice
customer_invoice
, customer_refund
, supplier_invoice
, supplier_refund
Code (e.g., USD, EUR) of the currency used for invoice amounts.
Total amount of the invoice excluding taxes.
Total amount of tax applied to the invoice
Total amount of the invoice, including taxes (untaxed_amount + tax_amount).
Accounting invoice date. It is automatically set to '1970-01-01' if the value is empty in the accounting system.
Last Due date of the invoice. The invoice date is used when this information is not given by the software.
Unique 'number' of the invoice instance in the accounting software. This is an internal reference number. if not specified, will be automatically generated according to the system’s numbering rules. It does not necessarily match the number displayed on an invoice.It is recommended to use this number for idempotency to prevent duplicate entries. Refer to the idempotency documentation in the Developer Guides for more details
Optional reference field used to store an external or contextual identifier related to the entry. For purchase invoices, it typically contains the invoice number issued by the supplier. For sales invoices, it may reference a quote number or any other relevant document. Unlike number, this field is not subject to specific format or character restrictions and can hold free-form text.
Field containing the payment reference or communication associated with the invoice (e.g., bank transfer reference, SEPA remittance message). Often used for reconciliation purposes.
Internal or external note associated with the invoice, typically intended for the customer. Can include additional context, comments, or special instructions related to the transaction.
Indicates the journal used in for the invoice. If the journal is not given, the journal will be automatically set if only one journal exists otherwise an error will be thrown.
cancelled
, draft
, posted
, paid
The last time the invoice has been updated.
Extra information about the partner (client/supplier) linked to the invoice. To ensure this information is returned, you need to use the include_partner_info query parameter.
List of all due dates of the invoice.