Get the transactions window
One keyset-paged window over the full transaction row universe: bank rows, ledger-only entries (sales summaries, imported history, manual entries), and payslip rows. needs_receipt means an OPEN customer ask (missing, requested, or inadequate) — evidence already in hand and under review does not count. Status, date range, open-periods scope, and the dimension filter all run in the database; the first (un-cursored) page carries whole-history totals and, under status=needs_receipt, the this-week/older buckets.
Authorizations
Portal API key minted in portal Settings → API access. Scope read or write; pinned to one company. Send as Authorization: Bearer lac_sk_....
Query Parameters
x <= 500Opaque keyset cursor from window.next_cursor.
done, needs_receipt, under_review open_periods