Plain Text Accounting
PTA Standards
Formal specifications for Beancount, Ledger, and hledger formats.
Format Status
Current specification progress
Beancount v3
DraftComplete grammar, AST schema, and semantic rules.
Ledger
PlannedSpecification work planned for future release.
hledger
PlannedSpecification work planned for future release.
Goals
What we're building towards
Precision
Unambiguous specifications that enable correct implementations.
Testability
Comprehensive conformance test suites for validation.
Interoperability
Enable format conversion and tool compatibility.
Community
Open evolution through RFCs and community input.
What's Included
Comprehensive tooling for implementers
EBNF & ABNF Grammars
Formal grammar definitions for parsing
AST Definitions
JSON Schema and Protocol Buffer schemas
Tree-sitter Grammars
Editor integration for syntax highlighting
Test Vectors
Conformance test suites for validation