API Reference

Accounting Exports

2 endpoints· Auth: JWT or API Key
get/api/v1/console/accounting/accounts/export JWT API Key

The chart of accounts

CSV by default — the chart's published form — with `?format=xlsx` for a formatted copy. That is the reverse default of the statements, and deliberately: a chart is a list an operator round-trips, a statement is a document they read.

Capability (any)
view_glormanage_accounting
API key scope
cap:view_glorcap:manage_accounting (the key's owner must also hold the capability)
Plan feature
accounting must be on the branch's plan, or the call answers 403.

Query parameters

Format
string
Anything other than `xlsx` streams CSV — the chart's published form.

Responses

200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/accounting/accounts/export" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Query parameters

Headers

Set credentials in the “Authorize” menu
get/api/v1/console/accounting/journal/export JWT API Key

The daily journal at stable builder-key grain, as CSV

`?date=` for one business day, or `?from=&to=` for an inclusive range clamped to 366 days. Days with no end-of-day report are skipped, not zero-filled — a zero row would claim a day traded nothing — and the builder's caveats ride along as `#`-prefixed note rows so the file never implies a completeness it does not have.

CSV only. The export exists to be imported into an external ledger, which is the same reason has the public API's copy of this route ignore `?format`.

Capability (any)
view_glormanage_accounting
API key scope
cap:view_glorcap:manage_accounting (the key's owner must also hold the capability)
Plan feature
accounting must be on the branch's plan, or the call answers 403.

Query parameters

Date
string (date)
A single business day. Takes precedence over the range when both are supplied.
From
string (date)
Inclusive lower bound of the range.
To
string (date)
<b>Inclusive</b> upper bound of the range — this export is a day list, not a window, and each named day either has an end-of-day report or is skipped. The span is clamped to 366 days (FR-ACC-077).

Responses

200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/accounting/journal/export" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Query parameters

Headers

Set credentials in the “Authorize” menu