Beancount 纯文本账本
Beancount 纯文本账本:Beancount 纯文本复式记账框架,支持导入银行对账单和交易数据,自动生成资产负债表和损益表等财务报表。 含 15 条反模式约束。
晶体简介
Constraints
Evidence Quality
Medium confidence — review before critical use
38 条不可违反的约束
WHENWhen implementing monetary calculations in the parsing stage
ACTIONuse Decimal type from beancount.core.number instead of floating-point types
CONSEQUENCEFloating-point arithmetic produces rounding errors that accumulate in financial calculations, leading to incorrect account balances and audit failures
WHENWhen parsing directives from Beancount source files
ACTIONrequire every directive to have a valid date field as primary identifier
CONSEQUENCEDirectives without dates cannot be temporally ordered, causing incorrect balance calculations and non-deterministic transaction sequencing
WHENWhen encoding Beancount source files for parsing
ACTIONuse UTF-8 encoding exclusively for each input files
CONSEQUENCENon-UTF-8 encoded files cause character decoding errors, preventing valid entries from being parsed and resulting in lost transaction data
常见问题
讨论 (0)
暂无讨论,成为第一个发言的人吧!
更新历史
v0.1.0: 首次发布到 Doramagic.ai。基于 tangweigang-jpg/doramagic-skills 的自动化 batch-v1 元数据 + 自动生成 FAQ。