refactor: rule references cite bookspec ids
Every B-n citation in crates/, docs/, deploy/, scripts/ and .github/ now names its bookspec id BS-<area>-<n> (D-68), via scripts/rewrite-rule-refs.py: the map is parsed from docs/spec/rules.md's index, rules.md-prefixed and bare forms are rewritten, sub-references (rule 11, item 7, INVARIANT 2) survive, and plan/, docs/spec/rules.md and docs/spec/claims/ are untouched. Program-output string literals that cited a rule were reverted by hand so user-visible output and its goldens are unchanged; DatedRule.catalog, metadata no output prints, now holds BS-1099-1. One SOURCE line that cited only 'R-?' now also cites BS-statement-5. Co-Authored-By: Muse Wonder 1.0
This commit is contained in:
1 parent
7a177a3cfc
commit
489360f598
221 files changed
+1706
-1580
No files matched your search
@@ -1,5 +1,5 @@
|
||||
//! The receivables and payables agings as files (plan P4b S6, 8.3.10;
|
||||
//! rules.md B-18, B-23): one row per open document, and a tie-out line
|
||||
//! BS-arap-1, BS-ledger-8): one row per open document, and a tie-out line
|
||||
//! against the control account. The server's `books.export` and the CPA
|
||||
//! package build the same CSV from this, and its XLSX/PDF from
|
||||
//! [`aging_statement`], so a CPA's two copies can't differ.
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
//! amortization: no counterparty by nature) (one item: Info under
|
||||
//! suggest, Todo under require; its prompt names
|
||||
//! books.set_entry_party); each warning of the fiscal year's
|
||||
//! statement of cash flows (rules.md B-14 rule 12: equipment sold for
|
||||
//! statement of cash flows (BS-statement-3 rule 12: equipment sold for
|
||||
//! an IOU, Todo; bought on an operating payable, Info; one per
|
||||
//! entry, its detail the warning's fix); a filed PDF whose text
|
||||
//! extraction failed (Todo, one per file: a human must read its
|
||||
@@ -87,7 +87,7 @@
|
||||
//! 3. Nothing else: books with none of those yield no items, except
|
||||
//! that a figure behind an item that can't be computed (an
|
||||
//! amortization plan past chrono's last day, an aging past exact
|
||||
//! arithmetic: books an earlier version wrote, rules.md B-28) is one
|
||||
//! arithmetic: books an earlier version wrote, BS-entry-4) is one
|
||||
//! Problem item saying so, never a panic or a guess.
|
||||
//! 4. Every item's prompt starts "In wanderbooks," or names
|
||||
//! wanderbooks, and its amounts are the books' exact amounts.
|
||||
@@ -477,7 +477,7 @@ pub fn find_with(
|
||||
}
|
||||
|
||||
// Every revenue and expense account (not a header) without a tax
|
||||
// category, with activity or not (rules.md B-32): the one list the
|
||||
// category, with activity or not (BS-ledger-11): the one list the
|
||||
// digest gives the agent too.
|
||||
let uncategorized: Vec<String> = ledger_core::tax::uncategorized_accounts(ledger)
|
||||
.into_iter()
|
||||
@@ -1341,8 +1341,8 @@ pub fn find_with(
|
||||
});
|
||||
}
|
||||
|
||||
// The statement of cash flows' warnings this fiscal year (rules.md
|
||||
// B-14 rule 12, D-35): equipment sold for an IOU, flagged with its fix
|
||||
// The statement of cash flows' warnings this fiscal year (
|
||||
// BS-statement-3 rule 12, D-35): equipment sold for an IOU, flagged with its fix
|
||||
// (Todo); equipment bought on an operating payable, following how the
|
||||
// payable is classified (Info). A statement the settings can't give
|
||||
// (no cash accounts yet) has none.
|
||||
@@ -1867,7 +1867,7 @@ fn paid_this_year(
|
||||
a.paid - a.received
|
||||
}
|
||||
|
||||
/// A figure the books can't compute (rules.md B-28: books an earlier
|
||||
/// A figure the books can't compute (BS-entry-4: books an earlier
|
||||
/// version wrote may hold dates past chrono's calendar or amounts past
|
||||
/// exact arithmetic): a Problem saying so and why, never a guess.
|
||||
fn cant_compute(what: String, why: &LedgerError, target: Target) -> Attention {
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
//! GOAL: the CPA imports the books through a day into QuickBooks Desktop,
|
||||
//! each account declared with the type QuickBooks needs, and gets
|
||||
//! the balances and the profit of the package's statements.
|
||||
//! SOURCE: ledger_import::iif (the IIF format and account types); rules.md
|
||||
//! B-33 (as of a day), B-34; DECISION (owner, 2026-10-20, plan
|
||||
//! SOURCE: ledger_import::iif (the IIF format and account types);
|
||||
//! BS-statement-4 (as of a day), BS-format-2; DECISION (owner, 2026-10-20, plan
|
||||
//! D-36: closing entries are left out).
|
||||
//! INVARIANTS:
|
||||
//! 1. The cash accounts are BANK; the receivable and payable control
|
||||
@@ -19,7 +19,7 @@
|
||||
//! imported close would zero its period's profit. The file's
|
||||
//! balances are the trial balance as of as_of without the closes.
|
||||
//! 3. Every class (project) in the books is declared, and each line
|
||||
//! carries its class (rules.md B-34 rule 8).
|
||||
//! carries its class (BS-format-2 rule 8).
|
||||
//! ```
|
||||
|
||||
use chrono::NaiveDate;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
//!
|
||||
//! ```text
|
||||
//! GOAL: print an invoice from the books, as of a day.
|
||||
//! SOURCE: plan/served.md P4b.11 (the "current" version); rules.md B-38
|
||||
//! SOURCE: plan/served.md P4b.11 (the "current" version); BS-arap-2
|
||||
//! (a document's figures are its lines that stand).
|
||||
//! INVARIANTS:
|
||||
//! 1. Its figures are the invoice's derived state as of the day (as of
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//! line by line beside the book figures, each figure the books can't
|
||||
//! know left blank and named, never guessed.
|
||||
//! SOURCE: ledger_core::tax_capital (INVARIANTS 1-5); Instructions for Form
|
||||
//! 1065 (2025), Item L, "Tax-basis method" (rules.md B-36);
|
||||
//! 1065 (2025), Item L, "Tax-basis method" (BS-partner-4);
|
||||
//! DECISION D-41 (owner, 2026-10-20).
|
||||
//! INVARIANTS:
|
||||
//! 1. Per member, in order: the seven Item L lines (beginning; capital
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//! GOAL: everything the CPA needs for the return in one zip, the K-1s'
|
||||
//! and 1099s' TINs included when asked, built the same by the
|
||||
//! server and the viewer.
|
||||
//! SOURCE: docs/mcp-interface.md; B-26; B-33 (as of one day); B-34 (the
|
||||
//! SOURCE: docs/mcp-interface.md; BS-partner-2; BS-statement-4 (as of one day); BS-format-2 (the
|
||||
//! IIF); DECISION (owner, 2026-10-15): "it needs to be in the damn
|
||||
//! CPA package."
|
||||
//! INVARIANTS:
|
||||
@@ -38,7 +38,7 @@
|
||||
//! Withdrawn files never.
|
||||
//! 5. Read-only (crate INVARIANT 1): the package is returned, its files
|
||||
//! and the zip, and written nowhere.
|
||||
//! 6. As of one day (B-33): no figure, entry, receipt or worksheet row
|
||||
//! 6. As of one day (BS-statement-4): no figure, entry, receipt or worksheet row
|
||||
//! reflects anything dated after as_of; the chart and documents/ are
|
||||
//! as they stand when the package is made.
|
||||
//! 7. One list of cash accounts and one of financing accounts per
|
||||
@@ -48,7 +48,7 @@
|
||||
//! 8. Every account name, number or place and every memo
|
||||
//! general-journal.iif writes differently from the books (it holds
|
||||
//! plain ASCII, within QuickBooks Desktop's limits and its rule that
|
||||
//! a subaccount has its parent's type: B-34) is in `warnings` and the
|
||||
//! a subaccount has its parent's type: BS-format-2) is in `warnings` and the
|
||||
//! README, the memos grouped by what is written differently; the
|
||||
//! README also names the entries with a line on accounts receivable
|
||||
//! or payable, which the file gives no customer or vendor.
|
||||
@@ -134,8 +134,8 @@ pub fn build_package<B: PackageBooks + ?Sized>(
|
||||
let mut tin_gaps: Vec<String> = Vec::new();
|
||||
|
||||
// The fiscal year to date: the tax year holding as_of (IRS Pub. 538),
|
||||
// the fiscal-year fact itself, not "what omitted dates mean" (rules.md
|
||||
// B-30), so the package's year never follows a default.
|
||||
// the fiscal-year fact itself, not "what omitted dates mean" (
|
||||
// BS-period-3), so the package's year never follows a default.
|
||||
let fy = ledger_core::calendar::fiscal_year_start_on(company.fiscal_year_start, as_of);
|
||||
let (fy_start, as_of_s) = (fy.to_string(), as_of.to_string());
|
||||
let xlsx = |r: XlsxReport<'_>| report_to_xlsx(&r, &meta).map_err(|e| e.to_string());
|
||||
@@ -373,7 +373,7 @@ pub fn build_package<B: PackageBooks + ?Sized>(
|
||||
files.push((format!("{name}.xlsx"), xlsx(XlsxReport::Statement(st))?));
|
||||
}
|
||||
// The receivables and payables agings, each with its tie-out line to
|
||||
// the control account (B-23, 8.3.10): the same CSV books.export and
|
||||
// the control account (BS-ledger-8, 8.3.10): the same CSV books.export and
|
||||
// the viewer make.
|
||||
files.push((
|
||||
"ar_aging.csv".into(),
|
||||
@@ -432,8 +432,8 @@ pub fn build_package<B: PackageBooks + ?Sized>(
|
||||
worksheet_1099 = true;
|
||||
}
|
||||
// The worksheet can't be made (the year's threshold isn't known,
|
||||
// or the package names no cash accounts): never guess (rules.md
|
||||
// B-19); say so in the package instead.
|
||||
// or the package names no cash accounts): never guess (
|
||||
// BS-1099-1); say so in the package instead.
|
||||
Err(e) => files.push((
|
||||
format!("1099-worksheet-{year}-NOT-INCLUDED.txt"),
|
||||
format!("{e}\n").into_bytes(),
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
//! books.cash_flow, books.export_cpa_package); ASC 230-10-20
|
||||
//! (financing and investing activities).
|
||||
//! INVARIANTS:
|
||||
//! 1. A range's omitted dates are the one default (rules.md B-30,
|
||||
//! 1. A range's omitted dates are the one default (BS-period-3,
|
||||
//! `ledger_core::calendar::PeriodDefaults`): an omitted end is
|
||||
//! `today`, an omitted start the first day of the fiscal year that
|
||||
//! holds the end; a start after the end, given or derived, is
|
||||
@@ -16,7 +16,7 @@
|
||||
//! 2. The cash flow statement needs at least one cash account, and
|
||||
//! every code it is given must be in the chart; account lists a call
|
||||
//! leaves empty default to the settings' roles. It foots, or it is
|
||||
//! refused (an engine error, never a figure: rules.md B-14 rule 9);
|
||||
//! refused (an engine error, never a figure: BS-statement-3 rule 9);
|
||||
//! roles that contradict each other or the chart are refused by the
|
||||
//! engine, naming the setting, so the viewer and the server refuse
|
||||
//! alike. Members are named on their contributions and
|
||||
@@ -73,7 +73,7 @@ impl<'a> Settings<'a> {
|
||||
|
||||
/// Resolve a statement's date range (INVARIANT 1): the dates as given,
|
||||
/// each omitted one the books' default for `company` on `today`
|
||||
/// (rules.md B-30).
|
||||
/// (BS-period-3).
|
||||
pub fn statement_range(
|
||||
company: &Company,
|
||||
start: Option<&str>,
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//! SOURCE: ledger_core::form1099 (the one report: payments out of the cash
|
||||
//! and financing accounts, classified by payment method; an entry's
|
||||
//! shares resolved with the members; dated decisions); IRS
|
||||
//! thresholds (rules.md B-19: never guessed); RFC 4180 (CSV).
|
||||
//! thresholds (BS-1099-1: never guessed); RFC 4180 (CSV).
|
||||
//! INVARIANTS:
|
||||
//! 1. Payments come from the cash and financing accounts of the
|
||||
//! `Settings` given (codes the chart lacks are skipped): the books'
|
||||
@@ -57,7 +57,7 @@ pub fn payment_accounts(ledger: &Ledger, settings: &Settings<'_>) -> ledger_core
|
||||
/// CPA package and the viewer use: payments out of [`payment_accounts`],
|
||||
/// an entry's shares resolved with the settings' members. Given
|
||||
/// `through`, only the payments from January 1 through it (the CPA
|
||||
/// package as of a day, rules.md B-33).
|
||||
/// package as of a day, BS-statement-4).
|
||||
pub fn vendor_1099_report(
|
||||
ledger: &Ledger,
|
||||
settings: &Settings<'_>,
|
||||
|
||||
@@ -127,8 +127,8 @@ fn pnl_depreciation(l: &Ledger, end: NaiveDate) -> Decimal {
|
||||
pnl_expense(l, "6500", end)
|
||||
}
|
||||
|
||||
/// The members' figures agree on every date as B-13, B-35 items 4 and 8
|
||||
/// and B-14 rule 11 say: the statement of members' equity and the K-1
|
||||
/// The members' figures agree on every date as BS-partner-1, BS-partner-3 items 4 and 8
|
||||
/// and BS-statement-3 rule 11 say: the statement of members' equity and the K-1
|
||||
/// worksheet are one roll-forward; party totals on basis all are the
|
||||
/// statement's contributions, on basis cash the K-1's cash
|
||||
/// contributions; the cash flow statement's contributions are the K-1's
|
||||
@@ -178,7 +178,7 @@ fn the_members_figures_agree_on_every_date() {
|
||||
m.contributions,
|
||||
k.contributions_cash + k.contributions_property
|
||||
);
|
||||
// Party totals (B-35 item 4).
|
||||
// Party totals (BS-partner-3 item 4).
|
||||
let a = activity(&b, party, end);
|
||||
assert!(a.unresolved.is_empty(), "{name} {end}: {:?}", a.unresolved);
|
||||
assert_eq!(a.totals(Basis::All).1, m.contributions, "{name} {end}");
|
||||
@@ -188,7 +188,7 @@ fn the_members_figures_agree_on_every_date() {
|
||||
"{name} {end}"
|
||||
);
|
||||
assert_eq!(a.received_in_kind, k.contributions_property, "{name} {end}");
|
||||
// The cash flow (B-14 rule 11, B-35 item 8).
|
||||
// The cash flow (BS-statement-3 rule 11, BS-partner-3 item 8).
|
||||
assert_eq!(
|
||||
kind(
|
||||
&cf,
|
||||
@@ -208,7 +208,7 @@ fn the_members_figures_agree_on_every_date() {
|
||||
// A distribution declared to Distributions Payable is a
|
||||
// distribution on the statement of members' equity when declared
|
||||
// and on the cash flow statement and in party totals when paid
|
||||
// (B-14 rule 2, B-35 item 4).
|
||||
// (BS-statement-3 rule 2, BS-partner-3 item 4).
|
||||
distributions_paid -= kind(
|
||||
&cf,
|
||||
CashFlowSection::Financing,
|
||||
@@ -281,7 +281,7 @@ fn the_members_figures_agree_on_every_date() {
|
||||
dec("2400.00")
|
||||
);
|
||||
// Mid-year, the declaration is unpaid: the statement counts it, party
|
||||
// totals and the cash flow don't yet (B-35 item 4's second condition).
|
||||
// totals and the cash flow don't yet (BS-partner-3 item 4's second condition).
|
||||
let mid = d("2026-06-30");
|
||||
assert_eq!(
|
||||
activity(&b, b.ana, mid).totals(Basis::Cash).0,
|
||||
@@ -296,7 +296,7 @@ fn the_members_figures_agree_on_every_date() {
|
||||
);
|
||||
}
|
||||
|
||||
/// B-14 rule 2, from the seam review: a distribution declared to a
|
||||
/// BS-statement-3 rule 2, from the seam review: a distribution declared to a
|
||||
/// liability and paid later is a financing outflow when paid (ASC
|
||||
/// 230-10-45-15(a)), its declaration a noncash financing activity; before
|
||||
/// the fix it was "Cash paid to suppliers and employees".
|
||||
@@ -349,7 +349,7 @@ fn a_distribution_declared_then_paid_is_financing_when_paid() {
|
||||
);
|
||||
}
|
||||
|
||||
/// B-35 item 9 and B-19: for a payee every entry of which names it alone,
|
||||
/// BS-partner-3 item 9 and BS-1099-1: for a payee every entry of which names it alone,
|
||||
/// party totals' paid less received (basis cash) is the 1099 worksheet's
|
||||
/// paid + excluded card + undetermined + not reportable, less what the
|
||||
/// worksheet lists as received for something else; and the worksheet
|
||||
@@ -421,7 +421,7 @@ fn the_1099_worksheet_ties_to_party_totals_and_the_ledger() {
|
||||
}
|
||||
}
|
||||
|
||||
/// The IIF's amounts on one account, through as_of (B-34: every posted
|
||||
/// The IIF's amounts on one account, through as_of (BS-format-2: every posted
|
||||
/// entry, closes left out), debit-positive.
|
||||
fn iif_total(iif: &str, account: &str) -> Decimal {
|
||||
let mut total = Decimal::ZERO;
|
||||
@@ -445,8 +445,8 @@ fn iif_dates(iif: &str) -> Vec<NaiveDate> {
|
||||
.collect()
|
||||
}
|
||||
|
||||
/// Depreciation is one figure everywhere (B-15 rule 8, B-14 rule 8,
|
||||
/// B-36): the P&L's expense, the cash flow reconciliation's add-back, the
|
||||
/// Depreciation is one figure everywhere (BS-asset-1 rule 8, BS-statement-3 rule 8,
|
||||
/// BS-partner-4): the P&L's expense, the cash flow reconciliation's add-back, the
|
||||
/// tax-basis K-1's open item, the IIF's, and the runs plus what the
|
||||
/// disposal posted; the balance sheet's accumulated depreciation is the
|
||||
/// register's posted figure, and posted differs from scheduled by exactly
|
||||
@@ -602,7 +602,7 @@ fn file<'p>(p: &'p ledger_package::Package, name: &str) -> &'p str {
|
||||
}
|
||||
|
||||
/// The CPA package as of each date: every file stops at as_of, and its
|
||||
/// figures are the tools' for the same accounts and dates (B-33).
|
||||
/// figures are the tools' for the same accounts and dates (BS-statement-4).
|
||||
#[test]
|
||||
fn the_cpa_package_as_of_each_date_is_the_tools_figures() {
|
||||
let dir = tempfile::tempdir().unwrap();
|
||||
|
||||
@@ -1106,7 +1106,7 @@ fn a_receipts_index_amount_is_the_entrys_debit_total_as_written() {
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// As of one day (rules.md B-33), and the QuickBooks file (B-34)
|
||||
// As of one day (BS-statement-4), and the QuickBooks file (BS-format-2)
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
/// The IIF's transactions in file order: each one's DOCNUM, memo, and
|
||||
@@ -1208,7 +1208,7 @@ fn as_of_package_iif_stops_at_as_of() {
|
||||
));
|
||||
}
|
||||
|
||||
/// B-33 at its edges, through ledger_package::export_iif (the package's
|
||||
/// BS-statement-4 at its edges, through ledger_package::export_iif (the package's
|
||||
/// own): an entry dated as_of is in and one dated the day after is not; a
|
||||
/// reversal after as_of leaves its original in, under the original's id;
|
||||
/// as of a day before the first entry the file declares the accounts and
|
||||
@@ -1409,7 +1409,7 @@ fn books_around(dir: &Path, as_of: NaiveDate, later: bool, desk: bool) -> Books
|
||||
}
|
||||
|
||||
/// Plan P3, defect 21: "a test pins every file in an as-of package to
|
||||
/// it". B-33: no figure, entry, receipt or worksheet row reflects anything
|
||||
/// it". BS-statement-4: no figure, entry, receipt or worksheet row reflects anything
|
||||
/// dated after as_of. Two sets of books, the same through as_of, one with
|
||||
/// activity in the days after (a 1099 payment with its receipt, an asset
|
||||
/// bought, a reversal of an entry dated as_of, the members' contributions,
|
||||
@@ -1717,7 +1717,7 @@ fn one_list_of_cash_accounts_per_package() {
|
||||
assert_eq!(text(&plain, "1099-worksheet-2026.csv"), tool(&cash));
|
||||
}
|
||||
|
||||
/// rules.md B-34 rule 8 (P3 cutover review, open point 1): the
|
||||
/// BS-format-2 rule 8 (P3 cutover review, open point 1): the
|
||||
/// package's QuickBooks file declares every project as a class and
|
||||
/// carries each line's project in CLASS; a project name written
|
||||
/// differently is listed in the warnings and the README, whose IIF line
|
||||
@@ -1776,7 +1776,7 @@ fn the_package_iif_carries_each_lines_project() {
|
||||
);
|
||||
}
|
||||
|
||||
/// rules.md B-34 rule 8 with B-37 item 8: an invoice's or a bill's
|
||||
/// BS-format-2 rule 8 with BS-statement-5 item 8: an invoice's or a bill's
|
||||
/// lines carry their projects into CLASS through the entry they post,
|
||||
/// the revenue or expense line of each project tagged, an untagged
|
||||
/// part and the receivable or payable line left without a class.
|
||||
@@ -1921,7 +1921,7 @@ fn the_readme_lists_what_the_iif_writes_differently() {
|
||||
assert!(!text(&p, "README.txt").contains("Written differently"));
|
||||
}
|
||||
|
||||
/// B-34 rule 7 (P3 review round 2): the file names no customer or vendor
|
||||
/// BS-format-2 rule 7 (P3 review round 2): the file names no customer or vendor
|
||||
/// (Intuit states no such need for an IIF journal; QuickBooks Desktop asks
|
||||
/// for one on a journal entry to accounts receivable or payable, and takes
|
||||
/// one such account a transaction: sources/intuit-iif.md), so the README
|
||||
@@ -1939,7 +1939,7 @@ fn the_readme_names_the_entries_on_receivables_and_payables() {
|
||||
s.add_account(code, name, ty, None, false).unwrap();
|
||||
}
|
||||
// Hand lines on receivables and payables, as books an earlier version
|
||||
// wrote hold them (the control guard, rules.md B-38, refuses them as
|
||||
// wrote hold them (the control guard, BS-arap-2, refuses them as
|
||||
// new work): posted as replay posts them.
|
||||
let (invoiced, billed) = ledger_core::parties::replaying(|| {
|
||||
let invoiced = post(
|
||||
@@ -2114,7 +2114,7 @@ fn random_ledger(
|
||||
}
|
||||
let e = posted[pick.index(posted.len())];
|
||||
let on = l.get_entry(e).unwrap().date() + chrono::Duration::days(*days);
|
||||
// An entry is reversed at most once (B-10): a second pick is skipped.
|
||||
// An entry is reversed at most once (BS-ledger-6): a second pick is skipped.
|
||||
let _ = l.reverse_entry(e, on, "Reversal");
|
||||
}
|
||||
for m in 1..=closed {
|
||||
@@ -2134,7 +2134,7 @@ fn random_ledger(
|
||||
proptest::proptest! {
|
||||
#![proptest_config(proptest::prelude::ProptestConfig::with_cases(2000))]
|
||||
|
||||
/// B-33 and B-34 over random books, random as_of (before the first
|
||||
/// BS-statement-4 and BS-format-2 over random books, random as_of (before the first
|
||||
/// entry, on an entry's date, after the last), reversals on either side
|
||||
/// of it and closed months: the IIF holds exactly the posted entries
|
||||
/// dated on or before as_of that aren't closes, in posting order, each
|
||||
@@ -2297,8 +2297,8 @@ fn the_bookspec_iif_example_matches_the_engine() {
|
||||
assert_eq!(checked, 2);
|
||||
}
|
||||
|
||||
/// The package's statement of cash flows is the direct method's (rules.md
|
||||
/// B-14, D-35): operating by ASC 230-10-45-25 class, financing by kind
|
||||
/// The package's statement of cash flows is the direct method's (
|
||||
/// BS-statement-3, D-35): operating by ASC 230-10-45-25 class, financing by kind
|
||||
/// with each member named, and both schedules: the reconciliation of net
|
||||
/// income to operating cash (45-30) and the noncash investing and
|
||||
/// financing activities (50-3; "None" here: every entry moved cash).
|
||||
@@ -2329,7 +2329,7 @@ fn the_cash_flow_carries_both_schedules() {
|
||||
assert!(p.files.iter().any(|(n, _)| n == "cash-flow.pdf"));
|
||||
}
|
||||
|
||||
/// The K-1 worksheet reports tax-basis capital (rules.md B-36; Form 1065
|
||||
/// The K-1 worksheet reports tax-basis capital (BS-partner-4; Form 1065
|
||||
/// instructions, Item L, the tax-basis method), beside the book figures,
|
||||
/// with the reconciliation. By hand, per member of two at 50/50: cash in
|
||||
/// 1,000.00; a laptop (worth 1,440.00, adjusted basis 1,688.40) and a
|
||||
@@ -2481,7 +2481,7 @@ fn the_k1_worksheet_reports_tax_basis_capital() {
|
||||
|
||||
/// The CPA package's aging CSVs are the agings, one row per open document
|
||||
/// and a tie-out line that equals the control account (plan P4b S6,
|
||||
/// 8.3.10; rules.md B-23, B-38 INVARIANT 1).
|
||||
/// 8.3.10; BS-ledger-8, BS-arap-2 INVARIANT 1).
|
||||
#[test]
|
||||
fn the_aging_csvs_tie_to_the_control_check() {
|
||||
let dir = tempfile::Builder::new()
|
||||
|
||||
@@ -511,7 +511,7 @@ pub fn books(dir: &std::path::Path) -> Books {
|
||||
}
|
||||
4 => {
|
||||
// Ben pays Delta with his own check, at the company's
|
||||
// direction: the company is the payor (B-19).
|
||||
// direction: the company is the payor (BS-1099-1).
|
||||
let e = post(
|
||||
&mut s,
|
||||
&day(20),
|
||||
|
||||
Reference in new issue
Block a user