This JSON object represents an invoice or quotation.
The properties are:
| The invoice ID, project ID and other identifiers. | object |
| Main invoice properties such as status, invoice number, dates. | bool |
| True if the invoice is a client invoice. | bool |
| The client company ID. With supplier invoices, this will always be the platform’s company (My Company). | int |
| True if the client company is “My Company”. | bool |
| The supplier company ID. With client invoices, this will always be the platform’s company (My Company). | int |
| True if the supplier company is “My Company”. | bool |
| The project ID. Note that an invoice is always linked to a project, even an aggregation parent is attached to a project. See | int |
EXAMPLES
Example payload with all root nodes:
{ "identifiers": { .... }, "properties":{ .... }, "lines": [ .... ], "totals":{ .... }, "attachments":{ .... }, "distribution":{ .... }, "aggregation":{ .... }, "related": [ .... ] }