Skip to navigation

invoiceStats

Get the stats of an invoice. Requires IP authentication.

Arguments

statusIntegerRequired

The invoice status.
(0-open, 1-partial paid, 2-completed).
This field is required.

companyIdslist of optional IntegersOptional
Filter by one or more company IDs.
decimalPlacesIntegerOptional
The decimal places, not required

Returns

an optional InvoiceStatsType
totalBalanceDoubleOptional
The total balance of invoice.
overDueBalanceDoubleOptional
Amount not paid when the invoice is due.
hasDueInvoiceBooleanOptional
Has due invoice?
hasOverDueInvoiceBooleanOptional
Has over due invoice?