(deprecated, use /purchase-invoice/{id} instead)
Security
oAuth2ClientCredentials
PATCH
{ "custom_fields": {} }
Successful Response
Any of:
booking date needs to be enabled else this will default to the date field
string (date)
Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "Credit-Note-0001", "external_name": "string", "date": "2022-01-01", "due_date": "2022-01-01", "booking_date": "2021-12-22", "currency": "EUR", "exchange_rate": { "rate_date": "2022-01-01", "rate": 1, "inverse_rate": 1 }, "total_excl_tax": "100", "total_incl_tax": "121", "total_tax": "21", "custom_fields": {}, "supplier": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "code": "", "currency": "EUR", "custom_fields": {}, "is_customer": false, "is_subcontractor": false, "is_buyer_or_seller": true, "name": "John Doe", "legal_name": "John Doe", "vat_number": "BE1234.123.123", "note": "", "tax_type": "VAT", "status": "PROSPECT", "accounting_code": "1234", "billing_location": { … }, "payment_term": { … }, "is_blocked": false }, "customer_reference_numbers": [ "12345" ], "line_items": [ { … } ], "billing_entity": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legal_name": "Qargo BV", "vat_number": "NL123456789B01", "code": "QARGO", "company_registration_number": "12345678", "is_default": false } }