...
The aggregation is done on a selected set of IDs provided, and grouped by Currency and VAT
URL
Code Block |
---|
(POST) /api/invoices/aggregation/new |
PARAMETERS
The URL takes no parameters
...
have a status of
InvoiceDraft
, invoices with other statuses will be ignoredhave an Effective Date between the
periodFrom
andperiodTo
mandatory propertiesbe either Client or Supplier invoices (matching
isClientInvoices
property)
RESULTS
This method is an asynchronous operation: Your request is queued and will execute as soon as possible.
...
The node custom/ids
returns the list of IDs of the newly created invoices resulting from the aggregation of the given invoice IDs. If no invoices were aggregated, the list will be empty
ERROR HANDLING
Effective error handling involves careful consideration and effort. Let’s break it down into three levels of errors:
...