Financials pillar · v0.16.0
accrual-schedule AccrualSchedule
Accrual-schedule record.
$id · https://corpospec.com/schemas/v0.16.0/accrual-schedule.schema.json
Fields
| Field | Type | Required | Description |
|---|---|---|---|
| current_balance | number | yes | Current outstanding balance (total_amount minus releases so far). Recomputed on read; persisted for audit. |
| end | IsoDate | yes | Recognition window end. |
| entity | PathRef | yes | Subject entity. |
| id | PathRef | yes | PathRef identifier, conventionally `financials/accruals/<slug>`. |
| kind | AccrualKind | yes | Direction (deferred revenue / prepaid expense / accrued). |
| recognition_pattern | RecognitionPattern | yes | Recognition pattern. |
| release_periods | ReleasePeriod[] | yes | Per-period release schedule. |
| start | IsoDate | yes | Recognition window start. |
| status | AccrualStatus | yes | Status. |
| total_amount | MonetaryAmount | yes | Total amount to recognise over the life. |
| counterparty | PathRef? | — | Optional counterparty (customer for deferred revenue, vendor for prepaid). |
| note | string? | — | Free-form note. |
| source_document | PathRef? | — | Source document (invoice, contract). |
Definitions
Shared types referenced within this schema.
AccrualKind
Direction of the accrual.
AccrualStatus
Lifecycle status.
enum: "active", "released", "reversed", "partially_released"
IsoCurrency
ISO 4217 currency code.
pattern: ^[A-Z]{3}$
IsoDate
ISO 8601 date (YYYY-MM-DD).
type: string
MonetaryAmount
A monetary value with currency.
type: object
PathRef
Path-based cross-reference relative to .corpospec/ root.
Pattern: `^[a-z0-9_-]+(/[a-z0-9_.-]+)+$`
pattern: ^[a-z0-9_-]+(/[a-z0-9_.-]+)+$
RecognitionPattern
How the accrual releases over its life.
ReleasePeriod
One period's release.
type: object
Reference in your YAML
# yaml-language-server: $schema=https://corpospec.com/schemas/v0.16.0/accrual-schedule.schema.json