Open Entries
List a counterparty’s open entries
Every document and payment that has not been fully settled. For a customer that is the invoices and reminder fees they owe you, alongside credit notes, unallocated payments and prepayments you hold against them; for a supplier it is the same picture from the other side.
Name exactly one of customerId or supplierId. An entry belongs to one side of the books, so a
request carrying both, or neither, is refused rather than resolved to a default.
Each row carries the kind, id and version that identify it, and remainingAmount is how much of
it is still open.
Read totals.baseCurrencyOutstanding for the balance, and never sum the rows. The rows are the
individual open documents; the total also includes the counterparty’s opening balance, which no row
carries. Summing the rows gives a number that is wrong by exactly that balance.
Required Scope
journal-entries-read
query Parameters
customerIdRead the customer’s entries. Mutually exclusive with supplierId; exactly one is required.
supplierIdRead the supplier’s entries. Mutually exclusive with customerId; exactly one is required.
asOfCut-off date (YYYY-MM-DD). Entries are reported as they stood at the end of this day, and daysOverdue is measured against it. Defaults to today.
List a counterparty’s open entries › Responses
The counterparty’s open entries as of the requested date
baseCurrencyThe company’s base currency (3-letter ISO).
asOfThe date this response answers as of. Always present — it is the requested cut-off, or today when none was given, so it does not tell you which was asked for.
The counterparty’s open entries.