invoiceStats
Get the stats of an invoice.
Requires IP authentication.
Arguments
status
The invoice status.
(0-open, 1-partial paid, 2-completed).
This field is required.
companyIds
Filter by one or more company IDs.
decimalPlaces
The decimal places, not required
Returns
totalBalance
The total balance of invoice.
overDueBalance
Amount not paid when the invoice is due.
hasDueInvoice
Has due invoice?
hasOverDueInvoice
Has over due invoice?