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
@@ -289,7 +289,14 @@ a file. **Checked:** `ledger-import` `tests/spec_import.rs`
|
||||
`tests/package.rs`
|
||||
(`the_package_refuses_an_entry_on_two_receivable_or_payable_accounts`);
|
||||
`ledger-cli` `oracle_mcp.rs`
|
||||
(`iif_and_the_package_refuse_an_entry_on_two_receivable_or_payable_accounts`).
|
||||
(`iif_and_the_package_refuse_an_entry_on_two_receivable_or_payable_accounts`);
|
||||
bookspec example
|
||||
`format-an-export-of-an-entry-on-two-control-accounts-is-refused`
|
||||
(BS-format-10, the option picked: an entry an earlier version wrote on a
|
||||
receivable and a payable account is refused for export, read off
|
||||
`IifError::SeveralReceivablePayableAccounts`), run by
|
||||
`every_bookspec_example_holds` and
|
||||
`the_runner_reports_every_claimed_rule_green`.
|
||||
|
||||
**Enforced:** `ledger_import::iif` (`field`, `iif_accounts`, `iif_classes`,
|
||||
`journal_to_iif`, `Iif::warnings`, `Iif::changes`, `Iif::receivable_payable`),
|
||||
|
||||
Reference in new issue
Block a user