/
Invoice Aggregation Record

Invoice Aggregation Record

This node contains information related to aggregation. This can specify if the invoice is part of an aggregation parent invoice or if it is a parent itself. Contained in Invoice Document Record

isChild

True if the invoice was aggregated into a parent invoice.

bool

isParent

True if the invoice is an aggregation parent. This means that it aggregates child invoices. An invoice cannot be both isClient and isParent.

Note: The invoice document includes references to all child invoices for parents.

bool

parentInvoiceId

If the invoice is a child then this is the ID of the parent invoice.

int?

periodFrom

The period start of aggregation (year-month-day). Populated with child and parent invoices only.

date

periodTo

The period end of aggregation (year-month-day). Populated with child and parent invoices only.

date

EXAMPLES

Example payload:

{ "isChild": false, "isParent": false, "parentInvoiceId": null, "periodFrom": null, "periodTo": null }

An aggregation parent:

{ "isChild": false, "isParent": true, "parentInvoiceId": null, "periodFrom": "2020-12-04", "periodTo": "2020-12-04" }

An aggregation child:

{ "isChild": true, "isParent": false, "parentInvoiceId": 1835, "periodFrom": "2020-12-04", "periodTo": "2020-12-04" }

 

 

 

Related content

Invoice Document Record
Invoice Document Record
More like this
Invoice Document Basic Record
Invoice Document Basic Record
More like this
invoices/items/new/aggregation
invoices/items/new/aggregation
More like this
Invoice Properties Record
Invoice Properties Record
More like this
Invoice Identifiers Record
Invoice Identifiers Record
More like this
Invoice Totals Record
Invoice Totals Record
More like this

Copyright Wordbee - Buzzin' Outside the Box since 2008