Skip to content

Receivables

GET
/reports/receivables
curl --request GET \
--url https://example.com/reports/receivables

Who can call it: Owners and Staff. Staff need the Team right View receivables (reports.view_receivables).

curl -X GET "https://spine.example.com/api/reports/receivables" \
  -H "Cookie: better-auth.session_token=<session>"

Validation failed or a business rule was broken; message says what to change.

No session, or it has expired: sign in again.

The caller’s role, Team rights or ownership don’t allow it, the module is switched off, or their access was removed.

No such record in this business.

The same Idempotency-Key is still being handled, or the record conflicts with one that exists.

Too many requests: wait a minute.

Something went wrong on the server; the response carries the request id to report.