docs(claims): refused dates, amounts, periods, roles, exports, 1099 years and returns
Each rule's Checked line names the bookspec example that now shows it, the enforcement site it goes through, and the test that runs it: - B-28 (BS-entry-4, BS-entry-7): the date past 9999 and the line past the cap, through `try_create_entry` and `add_line`; - B-12 (BS-period-4): the partly overlapping quarter, through `create_period`'s PeriodsOverlap; - B-23 (BS-ledger-19): the role on a header, through `Store::assign_role` and `check_assign_role`; - BS-format-10: the export refused through `IifError`; - B-19 (BS-1099-2): the 2027 worksheet refused through `RuleNotKnown`; - B-26 (BS-partner-8): the return taking 123-45-6789 from the vault. Co-Authored-By: DeepSeek V4.1 Flash <noreply@opencode.ai>
This commit is contained in:
1 parent
7ac1e644b2
commit
ad55ede8e4
6 files changed
+47
-6
No files matched your search
@@ -191,7 +191,13 @@ None.
|
||||
`check_assign_role`, `Ledger::check_renumber_account` (an assigned role
|
||||
frees its code); the control guard and `Ledger::control_check` (B-38).
|
||||
**Checked:** `ledger-core` `tests/spec_roles.rs`, `tests/spec_documents.rs`;
|
||||
`ledger-store` replay of `role.assigned`.
|
||||
`ledger-store` replay of `role.assigned`; bookspec example
|
||||
`ledger-a-role-on-an-account-of-the-wrong-type-is-refused` (BS-ledger-19,
|
||||
the option picked: the receivables role on a header account is refused
|
||||
through `Store::assign_role` and `Ledger::check_assign_role`'s
|
||||
`ControlAccountMismatch`, and the chart is as it was), run by
|
||||
`every_bookspec_example_holds` and
|
||||
`the_runner_reports_every_claimed_rule_green`.
|
||||
|
||||
### Product rules
|
||||
|
||||
|
||||
Reference in new issue
Block a user