Mirrored from https://github.com/davoodmehraban89/Aram.git
Synced Dec 3, 18:15 UTC
docs(cli): specify strict decimal-string, sign and company-year manifest rules
davoodmehraban89 committed
Oct 31, 2026 at 18:05 UTC
5e6e8d4f2f38be9cc01ead2a709972848eba781d
1 file changed
+4
docs/FIVE_STATEMENT_PIPELINE_CLI.md
+4
@@ -23,6 +23,10 @@ The root object must contain exactly:
23
`schema_version`, `company_code`, `fiscal_year`, `currency`, `unit`, `references`, `balance_sheet_policies`, `income_statement_policies`, `equity_movement_policies`, `cash_accounts`, `counterpart_policies`, `transactions`, `cash_balance_notes`.
24
25
- Schema version is integer `1`; duplicate keys and unknown fields are rejected.
26
+- Currency, units, source company code and year must be explicit; each transaction's company/year must match the root scope before execution.
27
+- Monetary amounts in reference controls and journal transaction rows must be **decimal strings**, not JSON numeric literals or booleans. NaN, Infinity, excessive exponents and out-of-range precision are rejected.
28
+- Presentation sign multipliers must be exactly the JSON integers `1` or `-1`. Numeric booleans and floating-point `1.0` are invalid.
29
+- Identity, category, activity, label and evidence fields must be nonempty strings without leading/trailing whitespace, control characters or excessive length. An explicitly blank `subnote_code` remains supported.
30
- References use the same fields as the note reconciliation manifest.
31
- BS/IS/EQ policy rows use the exact dataclass fields of their respective policy classes.
32
- Cash-account, counterpart and transaction rows use the exact fields of `CashAccountPolicy`, `CashCounterpartPolicy` and `CashFlowEntry`.