latestSwagger 2.02026-08-2181213270.0 KB

0a9c1f8784f2

Invoice

Updates an invoice (with status TO_SUBMIT or TO_EDIT only)

patch/invoice/{invoice_id}

Path parameters

invoice_idstring required

Request body

currency'EUR' | 'GBP' | 'null' nullable

Currency of the invoice. Use ISO 4217 currency code.

due_atstring date-time nullable
invoice_numberstring nullable

Invoice number as displayed on the invoice

issued_atstring date-time nullable
metadataobject nullable

This object is yours, it enables you to add custom data.

net_amountinteger nullable

Amount before tax, in cents

tax_amountinteger nullable

Amount of tax, in cents

to_pay_amountinteger nullable

Remaining amount due by buyer to seller, in cents. Set at 0 for fully paid invoices.

total_amountinteger nullable

Sum of net amount and tax amount, in cents

Response

OK