Each claim's Checked line names the examples that now run it on the engine, and the example for each option wanderbooks did not pick, which is skipped. Two claims say what the engine does not: BS-partner-16's pick states what the books do by convention at a close, since no command closes a period at a change of shares, and BS-asset-9's is the books' convention, not an engine default (a contributed asset's 704(c) method is unset until a command gives one), so no example shows either pick apart. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
138 lines
7.6 KiB
Markdown
138 lines
7.6 KiB
Markdown
# Claims: 1099
|
|
|
|
Wanderbooks' claims for bookspec area **1099**: what each rule requires, where the engine enforces it, and which tests check it. The accounting text lives in bookspec's records (`rules/1099/`); here stay the option wanderbooks picks, its enforcement and tests, and the product rules that are only wanderbooks' (`WB-1099-<n>`).
|
|
|
|
Rules: B-19.
|
|
|
|
---
|
|
|
|
## B-19 1099 reporting thresholds, payment methods, and decisions
|
|
|
|
**bookspec:** `BS-1099-1`
|
|
|
|
**Claims:** yes
|
|
|
|
**Pick:** `refuse-an-unknown-year` and the D-40 options: a threshold the engine does not know is refused, never guessed (CHOICE, the owner, 2026-10-13); a payment from a cash account with no recorded method is presumed a check, ACH or transfer and counts (CHOICE D-40, the owner, 2026-10-20); a shared entry counts only the payee's share (CHOICE, the owner, 2026-10-15); decisions are dated, and each payment takes the decision in force on its reversal chain's first entry's date (CHOICE D-40, the owner, 2026-10-20: "legally this has to be 2 dated statuses").
|
|
|
|
**Pick (BS-1099-2):** `refuse-an-unknown-year`, the owner, 2026-10-13.
|
|
|
|
**Pick (BS-1099-3):** `presumed-a-check-ach-or-transfer`, the owner, D-40, 2026-10-20.
|
|
|
|
**Pick (BS-1099-4):** `dated-by-the-payments-date`, the owner, D-40, 2026-10-20.
|
|
**Pick (BS-1099-5):** `payees-share-only`, the owner, 2026-10-15.
|
|
|
|
**Enforced:** the bucket table is `kernel::payment_bucket` and
|
|
`kernel::net_buckets`; `kernel::apportion` splits a payee's part across
|
|
the buckets; `form1099::vendor_1099_report` applies the threshold and the
|
|
status function; `shares::resolve` resolves a shared entry's target;
|
|
`Ledger::set_entry_parties`, `Ledger::set_entry_vendor`, `add_vendor`.
|
|
Kani `payment_bucket_is_the_table`, `payment_split_is_exact`,
|
|
`net_buckets_keeps_the_total`. **Checked:**
|
|
`an_unknown_year_threshold_is_never_guessed`,
|
|
`dated_rules_go_stale_on_their_review_date`,
|
|
`the_report_needs_the_cash_accounts_and_dollars`,
|
|
`payments_come_from_cash_and_financing_only`,
|
|
`undecided_is_not_not_reportable`,
|
|
`a_members_personal_card_payment_is_not_a_1099_payment`,
|
|
`card_account_payments_are_listed_not_dropped`,
|
|
`a_debit_card_payment_from_the_bank_is_excluded_when_tagged`,
|
|
`a_tag_naming_another_account_is_undetermined`,
|
|
`paying_down_a_financing_liability_pays_no_vendor`,
|
|
`paying_the_card_bill_pays_no_vendor`,
|
|
`a_negative_unknown_keeps_a_reportable_vendor_undetermined`,
|
|
`a_sale_to_a_contractor_does_not_lower_its_1099`,
|
|
`money_from_a_vendor_that_is_no_refund_does_not_lower_its_1099`,
|
|
`a_status_change_mid_year_applies_by_payment_date`,
|
|
`two_status_changes_in_a_year_and_a_reversal_across_them`,
|
|
`an_incorporation_on_december_30_is_a_new_vendor`,
|
|
`an_llc_electing_corporate_taxation_keeps_its_vendor`,
|
|
`a_dated_decision_records_a_change`,
|
|
`a_decision_change_names_the_payments_it_reaches`,
|
|
`an_undated_old_decision_is_in_force_from_the_beginning`,
|
|
`payment_bucket_is_the_table_in_all_16_cases`,
|
|
`a_shared_payment_splits_across_buckets_to_the_cent`, the properties
|
|
`no_instruments_no_financing_is_the_old_report`,
|
|
`buckets_partition_each_payment`, `a_reversal_nets_every_bucket_to_zero`,
|
|
`the_worksheet_ties_to_the_ledger`, `party_totals_are_the_1099s_buckets`
|
|
(ledger-core `tests/form1099.rs`);
|
|
`tagging_the_vendor_keeps_a_shared_entrys_parties`,
|
|
`clearing_the_vendor_on_a_shared_entry_is_refused`,
|
|
`re_apportioning_a_reversed_entry_re_apportions_its_reversal`,
|
|
`a_named_party_gaining_a_vendor_record_keeps_one_vendor_per_entry`;
|
|
`the_untagged_note_counts_only_money_out`,
|
|
`the_other_receipts_note_says_what_each_entry_did` (ledger-package); the
|
|
MCP tests through a real books server (ledger-cli); bookspec
|
|
`examples/1099-*.toml`, including
|
|
`1099-a-worksheet-for-an-unpublished-year-is-refused` (BS-1099-2, the
|
|
option picked: a 2027 worksheet is refused through
|
|
`LedgerError::RuleNotKnown` as unknown_1099_year, never guessed), run by
|
|
`every_bookspec_example_holds` and
|
|
`the_runner_reports_every_claimed_rule_green`; the example for the option
|
|
not picked, `1099-a-worksheet-for-an-unpublished-year-carries-the-last-amount`,
|
|
is skipped; for BS-1099-5, `1099-an-entry-naming-two-parties-counts-the-payees-share`
|
|
(one check of 1,000.00 naming Dana Studio at 600.00 and a member at 400.00
|
|
counts 600.00 toward Dana, through `shares::resolve`), run likewise, and the
|
|
example for the option not picked,
|
|
`1099-an-entry-naming-two-parties-counts-the-whole-payment-to-each`, is
|
|
skipped.
|
|
|
|
### Product rules
|
|
|
|
**WB-1099-1** The worksheet names untagged posted entries only when they
|
|
paid money out (netted counts plus undetermined above zero) for something
|
|
(a debit to an expense, to payables, or to an asset no money is paid out of
|
|
and no one owes), leaving out payroll runs, entries marked as having no
|
|
counterparty, entries naming only parties with no 1099 role, and entries
|
|
reversed in the year: one count, the entries when ten or fewer, and the
|
|
tool to tag them.
|
|
*Enforced:* `form1099::untagged_payments`, `books.vendor_1099`,
|
|
`books.set_entry_vendor`; the digest and Needs attention.
|
|
*Checked:* `the_untagged_note_counts_only_money_out`,
|
|
`the_other_receipts_note_says_what_each_entry_did` (ledger-package).
|
|
|
|
**WB-1099-2** The years whose threshold the engine knows are a dated
|
|
registry (`ledger_core::rules::THRESHOLD_1099`, known through 2026, review
|
|
from 2026-11-01). For a later year the engine refuses with `RuleNotKnown`
|
|
rather than guess, and the digest and the viewer's "Needs attention" list
|
|
flag the rule once its review date passes.
|
|
*Enforced:* `form1099::default_threshold`, `ledger_core::rules`;
|
|
`books.digest`; `ledger-gui` Needs attention.
|
|
*Checked:* `an_unknown_year_threshold_is_never_guessed`,
|
|
`dated_rules_go_stale_on_their_review_date`.
|
|
|
|
**WB-1099-3** Payment methods are recorded once (`instrument.added`: bank,
|
|
business_card, member_card, member_cash_or_check, platform, each with the
|
|
account it pays through) and entries are tagged with the one they were paid
|
|
with (`entry.instrument_set`, the reversal chain together). A vendor's
|
|
1099 decision and an entry's instrument are set through the tools
|
|
(`books.set_vendor_1099`, `books.set_entry_instrument`), and every decision
|
|
names who made it and when (`settings::Source`).
|
|
*Enforced:* `Store::add_instrument`, `Store::set_entry_instrument`,
|
|
`Store::set_vendor_1099`; `ledger-mcp` `books.set_vendor_1099`,
|
|
`books.set_entry_instrument`; `settings::Source`.
|
|
*Checked:* `a_dated_decision_records_a_change`,
|
|
`a_decision_change_names_the_payments_it_reaches`,
|
|
`an_undated_old_decision_is_in_force_from_the_beginning`; the ledger-cli
|
|
MCP tests.
|
|
|
|
**WB-1099-4** The worksheet's card accounts are the recorded
|
|
business-card methods' accounts only. Party totals use the same accounts
|
|
once a card is recorded and, while none is, the liabilities named "card"
|
|
(but not "gift") (`parties::card_accounts`, B-35). A charge to such a card
|
|
leaves no cash or financing account, so the worksheet counts it for no one
|
|
either way (not as a payment, not as excluded), and lists it as a card's
|
|
only once the card is recorded.
|
|
*Enforced:* `parties::card_accounts`; `form1099::vendor_1099_report`.
|
|
*Checked:* `card_account_payments_are_listed_not_dropped`;
|
|
`ledger-core` `tests/spec_party_totals.rs`.
|
|
|
|
**WB-1099-5** Gross proceeds paid to an attorney ($600, Treas. Reg.
|
|
§1.6045-5(a)(1)) and royalties ($10, §6050N(a)) have their own thresholds
|
|
and forms (`BS-1099-1`, applicability); wanderbooks models neither, and the
|
|
worksheet says so: its status notes that royalties at $10 and attorneys'
|
|
gross proceeds at $600 are not modelled, to be confirmed with the CPA.
|
|
*Enforced:* `form1099::default_threshold`, `form1099::Status1099`
|
|
(`UnderThreshold`, the note).
|
|
*Checked:* none beyond the doc comments; the worksheet's one amount is
|
|
the tested one (`an_unknown_year_threshold_is_never_guessed`).
|