Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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:

identifiers

The invoice ID, project ID and other identifiers.

See Invoice Identifiers Record

object

properties

Main invoice properties such as status, invoice number, dates.

See Invoice Properties Record

bool

lines

True if the invoice is a client invoice.
Equals (not isSupplierInvoice).

bool

totals

The client company ID. With supplier invoices, this will always be the platform’s company (My Company).

See Invoice Totals Record

int

attachments

True if the client company is “My Company”.

See Invoice Attachment Record

bool

distribution

The supplier company ID. With client invoices, this will always be the platform’s company (My Company).

See Invoice Distribution Record

int

aggregation

True if the supplier company is “My Company”.

See Invoice Aggregation Record

bool

related

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:

{
    "id": 3664,
    "isSupplierInvoice": false,
    "isClientInvoice": true,
    "clientCompanyId": 2003,
    "clientIsInternal": false,
    "supplierCompanyId": 537,
    "supplierIsInternal": true,
    "projectId": 6669,
    "orderId": 3353,
    "jobId": null,
    "projectSequenceId": null
}

  • No labels