The “identifiers” node in an invoice document contains the invoice ID and references to related objects, such as project, client, supplier and more.
The object has these properties:
id | The unique invoice ID. | int |
isSupplierInvoice | True if the invoice is a supplier invoice. | bool |
isClientInvoice | True if the invoice is a client invoice. | bool |
clientCompanyId | The client company ID. With supplier invoices, this will always be the platform’s company (My Company). | int |
clientIsInternal | True if the client company is “My Company”. | bool |
supplierCompanyId | The supplier company ID. With client invoices, this will always be the platform’s company (My Company). | int |
supplierIsInternal | True if the supplier company is “My Company”. | |
currency | The currency code, see settings/currencies/codes Null if cost is not calculated. | string |
decimals | Decimal places used when rounding amounts. | int |
EXAMPLES
Example payload:
{ "id": 3664, "isSupplierInvoice": false, "isClientInvoice": true, "clientCompanyId": 2003, "clientIsInternal": false, "supplierCompanyId": 537, "supplierIsInternal": true, "projectId": 6669, "orderId": 3353, "jobId": null, "projectSequenceId": null }