TripleBooks
Ledger

Accruals

Accrual schedules

Authentication

Authenticate with Authorization: Bearer ak_... — see API keys. Requests are scoped to one entity. Pass entityId as a query parameter, JSON field, or x-entity-id header. API keys are already pinned to an entity. A mismatched entityId returns 403.

Endpoints

MethodPathDescription
GET/api/ledger/accruals?entityId=List accrual schedules
POST/api/ledger/accrualsCreate accrual schedule
PUT/api/ledger/accrualsUpdate accrual

List accrual schedules

GET /api/ledger/accruals?entityId={entityId}

Returns accrual schedules for the entity. Supports status, accountId, and other filters.

Create accrual schedule

POST /api/ledger/accruals

Body: { "entityId", "accountId", "amount", "startDate", "endDate", "frequency", ... }

Update accrual

PUT /api/ledger/accruals

Body: { "entityId", "accrualId", ...fields }

On this page