v1

latestOpenAPI 3.1.02026-07-22155403592.5 KB
Invoicing

Upload a document (PDF)

Upload a document (PDF)

post/consumers/{consumer_id}/invoicing/upload-document

Path parameters

consumer_idstring uuid required

Request body

base64_stringstring required
document_type'customer_document' | 'supplier_document' | 'employee_expense' required

Response

Successful Response

idstring required

Technical id in Chift

currencystring nullable

Currency of the uploaded document

invoice_type'customer_invoice' | 'customer_refund' | 'supplier_invoice' | 'supplier_refund' | 'all'
status'cancelled' | 'draft' | 'posted' | 'paid'
invoice_datestring date nullable

Invoicing date

tax_amountnumber nullable

Taxes amount

untaxed_amountnumber nullable

Untaxed amount

totalnumber nullable

Total amount incl. taxes

partner_idstring nullable

Technical id of the vendor/customer in Chift

invoice_numberstring nullable

Number/sequence

due_datestring date nullable

Due date

referencestring nullable

Reference

payment_communicationstring nullable

Payment communication

customer_memostring nullable

Customer note/memo

last_updated_onstring date-time nullable
outstanding_amountnumber nullable

Amount left to be paid

last_payment_datestring date nullable

Date of the last payment linked to the invoice

accounting_datestring date nullable

Accounting date

payment_method_idstring nullable

Technical id of the payment method in Chift

currency_exchange_ratenumber nullable

Indicates the exchange rate at the date of the invoice.