API Reference

Recurring Bills

Rent, utilities and other bills that repeat.

15 endpoints· Auth: JWT or API Key
get/api/v1/console/accounting/recurring-bills JWT API Key

Get recurring-bills

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

Status
string
active | paused; null for both.
Category
string
rent | utilities | generator | subscription | other; null for all.
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/recurring-bills" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Query parameters

Headers

Set credentials in the “Authorize” menu
post/api/v1/console/accounting/recurring-bills JWT API Key

Create recurring-bills

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.

Request body

application/json
{
  "frequency": "string",
  "interval": 0,
  "anchorDay": 0,
  "anchorWeekday": 0,
  "startDate": "2026-11-27",
  "endDate": "2026-11-27",
  "dueOffsetDays": 0,
  "name": "string",
  "supplierId": "00000000-0000-0000-0000-000000000000",
  "expenseAccountCode": "string",
  "amount": 0,
  "currencyCode": "string",
  "category": "string",
  "mode": "string",
  "notes": "string"
}
frequency
string
weekly | monthly | quarterly | yearly
interval
integer (int32)
Every how many periods, 1–52. Null means 1.
anchorDay
integer (int32)
Day of month 1–31 (29–31 clamp to the month's end) for monthly, quarterly and yearly.
anchorWeekday
integer (int32)
0 = Sunday … 6 = Saturday, for weekly.
startDate
string (date)
—
endDate
string (date)
—
dueOffsetDays
integer (int32)
Days after the occurrence the bill falls due, 0–365. Null means 0.
name
string
—
supplierId
string (uuid)
The payee: a supplier of the branch.
expenseAccountCode
string
An active expense or cost-of-sales account code of the branch's chart.
amount
integer (int64)
One occurrence, minor units of Panoptes.Application.DTOs.Requests.Accounting.SaveRecurringBillRequest.CurrencyCode.
currencyCode
string
Must be the supplier's currency. Null: the supplier's currency.
category
string
rent | utilities | generator | subscription | other. Null means other.
mode
string
auto | review. Null means auto.
notes
string
—

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/accounting/recurring-bills" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "frequency": "string",
  "interval": 0,
  "anchorDay": 0,
  "anchorWeekday": 0,
  "startDate": "2026-11-27",
  "endDate": "2026-11-27",
  "dueOffsetDays": 0,
  "name": "string",
  "supplierId": "00000000-0000-0000-0000-000000000000",
  "expenseAccountCode": "string",
  "amount": 0,
  "currencyCode": "string",
  "category": "string",
  "mode": "string",
  "notes": "string"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
get/api/v1/console/accounting/recurring-bills/{id} JWT API Key

Get id

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)
—

Responses

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

Path parameters

Headers

Set credentials in the “Authorize” menu
put/api/v1/console/accounting/recurring-bills/{id} JWT API Key

Update id

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.

Path parameters

idrequired
string (uuid)
—

Request body

application/json
{
  "frequency": "string",
  "interval": 0,
  "anchorDay": 0,
  "anchorWeekday": 0,
  "startDate": "2026-11-27",
  "endDate": "2026-11-27",
  "dueOffsetDays": 0,
  "name": "string",
  "supplierId": "00000000-0000-0000-0000-000000000000",
  "expenseAccountCode": "string",
  "amount": 0,
  "currencyCode": "string",
  "category": "string",
  "mode": "string",
  "notes": "string"
}
frequency
string
weekly | monthly | quarterly | yearly
interval
integer (int32)
Every how many periods, 1–52. Null means 1.
anchorDay
integer (int32)
Day of month 1–31 (29–31 clamp to the month's end) for monthly, quarterly and yearly.
anchorWeekday
integer (int32)
0 = Sunday … 6 = Saturday, for weekly.
startDate
string (date)
—
endDate
string (date)
—
dueOffsetDays
integer (int32)
Days after the occurrence the bill falls due, 0–365. Null means 0.
name
string
—
supplierId
string (uuid)
The payee: a supplier of the branch.
expenseAccountCode
string
An active expense or cost-of-sales account code of the branch's chart.
amount
integer (int64)
One occurrence, minor units of Panoptes.Application.DTOs.Requests.Accounting.SaveRecurringBillRequest.CurrencyCode.
currencyCode
string
Must be the supplier's currency. Null: the supplier's currency.
category
string
rent | utilities | generator | subscription | other. Null means other.
mode
string
auto | review. Null means auto.
notes
string
—

Responses

200Success
cURL
curl -X PUT "https://staging-api.panoptesos.com/api/v1/console/accounting/recurring-bills/{id}" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "frequency": "string",
  "interval": 0,
  "anchorDay": 0,
  "anchorWeekday": 0,
  "startDate": "2026-11-27",
  "endDate": "2026-11-27",
  "dueOffsetDays": 0,
  "name": "string",
  "supplierId": "00000000-0000-0000-0000-000000000000",
  "expenseAccountCode": "string",
  "amount": 0,
  "currencyCode": "string",
  "category": "string",
  "mode": "string",
  "notes": "string"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
delete/api/v1/console/accounting/recurring-bills/{id} JWT API Key

Delete id

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.

Path parameters

idrequired
string (uuid)
—

Request body

application/json
{
  "reason": "string"
}
reason
string
—

Responses

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

Path parameters

Headers

Set credentials in the “Authorize” menu
get/api/v1/console/accounting/recurring-bills/{id}/occurrences JWT API Key

Get occurrences

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

Status
string
posted | pending_review | skipped; null for all.
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/recurring-bills/{id}/occurrences" \
  -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/recurring-bills/{id}/pause JWT API Key

Create pause

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.

Path parameters

idrequired
string (uuid)
—

Responses

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

Path parameters

Headers

Set credentials in the “Authorize” menu
get/api/v1/console/accounting/recurring-bills/{id}/preview JWT API Key

The next occurrences of a saved template

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

count
integer (int32)
—

Responses

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

Create resume

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.

Path parameters

idrequired
string (uuid)
—

Responses

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

Path parameters

Headers

Set credentials in the “Authorize” menu
post/api/v1/console/accounting/recurring-bills/generate JWT API Key

Generate every occurrence that has come due, now — the same runner the daily job drives

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
{
  "recurringBillId": "00000000-0000-0000-0000-000000000000"
}
recurringBillId
string (uuid)
One template only; null for every active template of the branch.

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/accounting/recurring-bills/generate" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "recurringBillId": "00000000-0000-0000-0000-000000000000"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
post/api/v1/console/accounting/recurring-bills/occurrences/{occurrenceId}/confirm JWT API Key

Create confirm

Post a reviewed occurrence as a supplier payable, optionally at the amount actually billed.

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.

Path parameters

occurrenceIdrequired
string (uuid)
—

Request body

application/json
{
  "amount": 0
}
amount
integer (int64)
The amount actually billed this time (a generator bill varies with the hours), minor units; null keeps the template's amount.

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/accounting/recurring-bills/occurrences/{occurrenceId}/confirm" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "amount": 0
}'
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
post/api/v1/console/accounting/recurring-bills/occurrences/{occurrenceId}/skip JWT API Key

Create skip

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.

Path parameters

occurrenceIdrequired
string (uuid)
—

Request body

application/json
{
  "reason": "string"
}
reason
string
—

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/accounting/recurring-bills/occurrences/{occurrenceId}/skip" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "reason": "string"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
get/api/v1/console/accounting/recurring-bills/payees JWT API Key

Get payees

The suppliers a bill may be paid to — the drawer's payee picker, under this gate rather than manage_suppliers.

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

search
string
—

Responses

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

Query parameters

Headers

Set credentials in the “Authorize” menu
post/api/v1/console/accounting/recurring-bills/preview JWT API Key

The next occurrences of a schedule not saved yet — the drawer's live preview

Reads only.

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.

Request body

application/json
{
  "frequency": "string",
  "interval": 0,
  "anchorDay": 0,
  "anchorWeekday": 0,
  "startDate": "2026-11-27",
  "endDate": "2026-11-27",
  "dueOffsetDays": 0,
  "count": 0
}
frequency
string
weekly | monthly | quarterly | yearly
interval
integer (int32)
Every how many periods, 1–52. Null means 1.
anchorDay
integer (int32)
Day of month 1–31 (29–31 clamp to the month's end) for monthly, quarterly and yearly.
anchorWeekday
integer (int32)
0 = Sunday … 6 = Saturday, for weekly.
startDate
string (date)
—
endDate
string (date)
—
dueOffsetDays
integer (int32)
Days after the occurrence the bill falls due, 0–365. Null means 0.
count
integer (int32)
How many occurrences, 1–24. Null means 6.

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/accounting/recurring-bills/preview" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "frequency": "string",
  "interval": 0,
  "anchorDay": 0,
  "anchorWeekday": 0,
  "startDate": "2026-11-27",
  "endDate": "2026-11-27",
  "dueOffsetDays": 0,
  "count": 0
}'
Try itagainst staging · https://staging-api.panoptesos.com

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
get/api/v1/console/accounting/recurring-bills/summary JWT API Key

The summary cards: monthly total in base currency, bills due in the next 7 days

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.

Responses

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

Headers

Set credentials in the “Authorize” menu