SET API · Accounting
Each entry's post: posted, failed or skipped
GET/v1/accounting/entries
Lists each journal entry SET has tried to post to the connected ledger, with its state: posted, failed or skipped. Newest first, at most 100 rows.
Query parameters
state"posted" | "failed" | "skipped"- Only posts in this state. Any other value answers 400
state_invalid.
Notes
- Accounting connections are switched on per deployment; when off, the call answers 403
accounting_connectors_off. CheckGET /v1/capabilities(features.*). - Needs a key with the
readscope. - Accounting connections are for a business account: a platform key gets 403
accounting_merchant_only. - One row per journal entry:
entry(theje_id fromGET /v1/journal_entries),provider,state,remoteId(the ledger's id once posted),problem(the ledger's or SET's message when it failed),attemptsandupdatedAt. - Newest first by
updatedAt, at most 100 rows; there is no paging and nohasMore. - An entry SET has not tried yet has no row.
- The example was made with a sandbox key against a sandbox ledger, so
remoteIdis not a real QuickBooks id. - This example is a recorded run of SET's own code (wallet release
e9b03447) with a sandbox key; ids and times are that run's.
Errors
403 accounting_connectors_off403 accounting_merchant_only400 state_invalid