Financials pillar · v0.16.0
trial-balance TrialBalance
Trial-balance snapshot.
$id · https://corpospec.com/schemas/v0.16.0/trial-balance.schema.json
Fields
| Field | Type | Required | Description |
|---|---|---|---|
| as_of | IsoDate | yes | Snapshot date. |
| content_hash | string | yes | SHA-256 of canonicalised payload (excluding this field). |
| entity | PathRef | yes | Subject entity. |
| generated_at | IsoDate | yes | When this snapshot was generated. |
| id | PathRef | yes | PathRef identifier, conventionally `financials/trial-balances/<entity>-<period>-<as-of>`. |
| lines | TrialBalanceLine[] | yes | One line per active GL account with non-zero activity in the period. |
| period | PathRef | yes | PathRef into the AccountingPeriod this snapshot covers. |
| derived_from_journal_range | JournalRange? | — | Range of journal entries that produced this trial balance. |
| note | string? | — | Free-form note. |
Definitions
Shared types referenced within this schema.
IsoDate
ISO 8601 date (YYYY-MM-DD).
type: string
JournalRange
Range of JournalEntry PathRefs that fed this trial balance.
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_.-]+)+$
TrialBalanceLine
One trial-balance line per active account.
type: object
Reference in your YAML
# yaml-language-server: $schema=https://corpospec.com/schemas/v0.16.0/trial-balance.schema.json