List Sales Invoices

Field Description

Knowing if an invoice paid or not can be tricky since not all systems provide a clear cut status which denotes payment. The easiest will be to locate these 2 fields: 1. totalBalanceAmount (if totalBalanceAmount is 0 then it is FULLY PAID) 2. taxInclusiveAmount (if totalBalanceAmount < taxInclusiveAmount and taxInclusiveAmount not 0, then it is HALF PAID) 3. IF taxInclusiveAmount = totalBalanceAmount then there is no one single payment yet (NOT PAID)

To list the payments made for that invoice you can use GET /salesinvoices/:id/payments or GET /salesinvoices/payments to list all payments

Filtering

Status

Notes: all invoices returned are booked

isSent field

currently only supported by these systems: fortnox, billy, procountor, netvisor

Note

System by system filtering depends on the capability of the corresponding system, API.1 will return following message should the corresponding system does not have the capability:

$"Filtering by status {status} is not supported by {system}");

Last updated