API Reference

Journal

5 endpoints· Auth: JWT or API Key
post/api/v1/console/accounting/journal/daily-sales JWT API Key

Post or re-post one business day's sales entry

A re-post never edits: it writes a reversing entry for the superseded revision and then a fresh one, and the response says which of the two happened.

Capability (any)
view_glormanage_accounting and also manage_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.
Idempotency
Send an Idempotency-Key header (a UUID you mint). A retry with the same key replays the first answer.

Request body

application/json
{
  "date": "2026-11-27"
}
date
string (date)
—

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/accounting/journal/daily-sales" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "date": "2026-11-27"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Request body (JSON)

Headers

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

Browse posted entries over a half-open business-day window

Totals are the base-currency pair. A page that summed the transaction pair would still foot and would stop meaning anything the moment a second currency existed.

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

From
string (date)
Inclusive lower bound on the entry's business day.
ToExclusive
string (date)
Exclusive upper bound on the entry's business day.
Source
string
One of the ratified source vocabulary (<c>order | settlement | transfer | manual | adjustment | daily | purchase | payroll | bank | invoice | intercompany</c>). Optional.
AccountCode
string
Only entries carrying a line on this account code. Optional.
Page
integer (int32)
—
PerPage
integer (int32)
—
Search
string
Free-text filter. Its meaning is per-resource and documented on the endpoint.
Skip
integer (int32)
Rows to skip, derived — never sent by the caller on this surface.
Sort
string
A snake_case column key from the endpoint's allow-list (`created_at`, `gross_total`, `status` …). Absent or blank → the endpoint's default order.
Dir
string
`asc` (the default when Panoptes.Application.Common.SortableRequest.Sort is present) or `desc`. Ignored without a sort.

Responses

200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/accounting/journal/entries" \
  -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/entries/{id} JWT API Key

One entry with every line, its resolved account label and a balanced badge

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.

Path parameters

idrequired
string (uuid)
—

Query parameters

Sort
string
A snake_case column key from the endpoint's allow-list (`created_at`, `gross_total`, `status` …). Absent or blank → the endpoint's default order.
Dir
string
`asc` (the default when Panoptes.Application.Common.SortableRequest.Sort is present) or `desc`. Ignored without a sort.

Responses

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

Path parameters

Query parameters

Headers

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

Key a manual journal entry (source `manual`)

The body's `reference` is the entry's idempotency key: a resubmit is a no-op, a different entry under it a CONFLICT.

Capability (any)
view_glormanage_accounting and also manage_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.
Idempotency
Send an Idempotency-Key header (a UUID you mint). A retry with the same key replays the first answer.

Request body

application/json
{
  "entryDate": "2026-11-27",
  "reference": "00000000-0000-0000-0000-000000000000",
  "memo": "string",
  "lines": [
    {
      "accountCode": "string",
      "debit": 0,
      "credit": 0,
      "memo": "string"
    }
  ]
}
entryDate
string (date)
The business day the entry is dated on; it must fall in an open period.
reference
string (uuid)
The client's idempotency key — the entry's `sourceRef`.
memo
string
Why the entry exists. Required: an unexplained manual entry is an audit finding.
lines
ManualJournalLineInput[]
—

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/accounting/journal/manual" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "entryDate": "2026-11-27",
  "reference": "00000000-0000-0000-0000-000000000000",
  "memo": "string",
  "lines": [
    {
      "accountCode": "string",
      "debit": 0,
      "credit": 0,
      "memo": "string"
    }
  ]
}'
Try itagainst staging · https://staging-api.panoptesos.com

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
post/api/v1/console/accounting/journal/manual/reverse JWT API Key

Reverse a manual entry — a mirror dated today in the open period, with the reason

Capability (any)
view_glormanage_accounting and also manage_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.
Idempotency
Send an Idempotency-Key header (a UUID you mint). A retry with the same key replays the first answer.

Request body

application/json
{
  "reference": "00000000-0000-0000-0000-000000000000",
  "reason": "string"
}
reference
string (uuid)
The Panoptes.Application.DTOs.Requests.Accounting.PostManualJournalEntryRequest.Reference the entry was posted under.
reason
string
—

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/accounting/journal/manual/reverse" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "reference": "00000000-0000-0000-0000-000000000000",
  "reason": "string"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Request body (JSON)

Headers

Set credentials in the “Authorize” menu