Skip to content

Finance

Open items per customer

finance:read
ParameterInTypeRequiredDescription
overduequerystringNotrue — only customers with something past its due date
minOutstandingOerequerystringNoOnly customers owing at least this many øre
minDaysOverduequerystringNoOnly customers whose oldest overdue invoice is at least this many days old
limitqueryintegerNoPage size, 1-200 (default 50)
cursorquerystringNoOpaque cursor from meta.nextCursor
Request exampleNo request body
curl https://api.rieckflow.com/v1/open-items \
-H "Authorization: Bearer $RIECK_API_KEY"
200 What each customer owes you right now and how old it is: outstandingOere, overdueOere, overdueCount, oldestDueDate, daysOverdue, collectionsOere, pastDue — the SAME fields and the same source as GET /v1/customers/{id}/balance, so the two can never disagree. Customers with nothing outstanding are not listed; drafts and paid invoices do not count. ⚠️ The figures are point-in-time, and the keyset is the customer’s creation time rather than an amount — an amount changes while you page, which would repeat or drop rows. For the invoice-level detail behind a row, use GET /v1/invoices?customerId=.application/json
Possible errors 5
HTTPCodeMeaning
400invalid_cursorThe cursor is malformed, expired or belongs to another list shape.
401invalid_api_keyThe API key is missing, invalid, expired or revoked.
403api_not_includedThe organisation’s plan does not include API access.
403insufficient_scopeThe key does not have the required scope.
429rate_limitedThe organisation’s rate budget is exhausted.