Files
wanderbooks/docs/spec/claims/1099.md
T
swaitsandDeepSeek V4.1 Flash ce02a44bb0 docs(spec): 1099 claims reduced to wanderbooks' picks and product rules
B-19's accounting text (thresholds, payor, card and network exclusion, the
bucket table, decisions and dates, the status function, shares) now lives
in bookspec's `rules/1099/`; this file keeps the four embedded choices'
picks, the enforced and checked evidence, and the product rules.

The picks: an unknown year is refused, never guessed (the owner,
2026-10-13); a cash-account payment with no recorded method is presumed a
check, ACH or transfer (D-40, 2026-10-20); a shared entry counts only the
payee's share (2026-10-15); decisions are dated and a payment takes the
one in force on its reversal chain's first date (D-40).

Product rules: WB-1099-1 (the untagged-entry note), WB-1099-2 (the dated
registry of known threshold years and its staleness alarm), WB-1099-3 (the
recording of payment methods, entry tags, decisions and their sources),
WB-1099-4 (the card-account fallback and the card charge listed, not
dropped).

The Enforced and Checked lists carry over the engine's sites and the
buckets' 16-case check, unchanged.

Co-Authored-By: DeepSeek V4.1 Flash <noreply@opencode.ai>
2026-11-08 12:17:48 -07:00

5.9 KiB

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").

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.

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::Vendor1099Report::untagged, 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 business-card methods' accounts; while the books record none, they are the liabilities named "card" (but not "gift") (parties::card_accounts). A charge to such a card leaves no cash or financing account, so the worksheet counts it for no one either way, 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.