invoice_number | int | NULL | The invoice number for this invoice. This is null until status is booked |
status | string | draft | Is the invoice booked or not? Possible values: draft , booked |
order_type | string | b2b | Order type |
customer_id | int | | The customer of the invoice |
order_id | int | NULL | A "manual invoice" has empty order_id |
notes | string | NULL | An optional note/comment |
currency | string | | The currency of the invoice |
meta | object | {} | An object with {"key": "value"} with custom meta data of the order. This is used for storing custom fields |
total_quantity | int | | The total invoiced quantity |
price_before_discount | float | | The total price of the order before discount and ex VAT |
discount_amount | float | | The total discount given as an amount ex VAT |
discount_percentage | float | | The total discount given as a percentage |
net_price | float | | The total price of the order ex VAT, shipping and handling fee and after discount |
shipping | float | | The shipping amount ex VAT |
handling_fee | float | | The handling fee amount ex VAT |
vat_amount | float | | The total VAT amount |
total_price_after_vat | float | | The total price of the order incl VAT |
created_at | datetime | | |
updated_at | datetime | | |
lines.* | | | An array of object invoice line |