A subledger is a ledger-shaped table scoped to an entity and workflow run (expenses, journal staging, etc.). Rows live in the tenantDocumentation Index
Fetch the complete documentation index at: https://docs.ntropii.com/llms.txt
Use this file to discover all available pages before exploring further.
ledgers schema alongside the GL — not in ingest.*. Use ntro.subledger from activities or workflow-adjacent code that already holds a data-plane connection.
Opening a handle
expenses) register via @register_type under ntro.subledger.types. Mutation helpers for review workflows live alongside the type (e.g. edit/reject rules) so Temporal-signalled actions can apply domain logic consistently — see UI and Temporal signals.
Core concepts
| Symbol | Purpose |
|---|---|
Row | Pydantic base for subledger rows — standard columns (id, entity_id, period, task_id, status, …). |
SubledgerStatus | Default lifecycle enum; types may specialize. |
SubledgerHandle | Lazy-bound API for query / insert / transitions for one (subledger name, entity, task). |
register_type | Associates a row model with a subledger name at import time. |
Related
Ingest outcomes & feedback
Earlier stage: ingest schema and feedback envelopes.
UI and Temporal signals
How row edits reach
ntro.subledger via workflows.Accounting capability
GL-facing helpers built on subledger proposals where applicable.
General ledgers
ntro.capabilities.gl — post BillProposal and other resources to the external GL.