Invoice Document Record

This JSON object represents an invoice or quotation.

The properties are:

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

object

lines

True if the invoice is a client invoice.

An array of Invoice Line Record

object[]

totals

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

See Invoice Totals Record

object

attachments

True if the client company is “My Company”.

See Invoice Attachment Record

object

distribution

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

See Invoice Distribution Record

object

aggregation

True if the supplier company is “My Company”.

See Invoice Aggregation Record

object

related

Related invoices. Array of Invoice Document Basic Record

There are 2 scenarios:

  • The parent invoice if the invoice is a child and was aggregated.

  • The list of children invoices if the invoice is an aggregation parent.

object[]

EXAMPLES

Example payload with all root nodes:

{ "identifiers": { .... }, "properties":{ .... }, "lines": [ .... ], "totals":{ .... }, "attachments":{ .... }, "distribution":{ .... }, "aggregation":{ .... }, "related": [ .... ] }

 

 

 

 

 

Copyright Wordbee - Buzzin' Outside the Box since 2008