; Agent accounting challenge starter for Beancount. ; ; Generated from docs/Solutions/accounting-with-ai-agents.md ; (first-challenge input fences). Do not edit by hand — regenerate with: ; yarn generate:agent-accounting-challenge ; ; Sample data: every name, amount and date below is fictional. ; Recreate the scenario with the bea init/add-open commands in that doc, ; or download this file with statement.csv and rules.toml and import. ; ; Validate with the pinned toolchain (Beancount 3.2.3): ; uvx --from beancount==3.2.3 bean-check public/downloads/agent-accounting/main.bean ; ; Expected balances after load (before the import): ; Assets:Checking: 1000 USD ; Equity:OpeningBalances: -1000 USD ; Expected result after the import: 2958.50 USD checking, ; 1958.50 USD September profit (1000 + 2000 - 29 - 12.50). option "title" "Personal ledger" option "operating_currency" "USD" ; Add more accounts with bea add open. Amounts on credit accounts are negative. ; bea import books rows it cannot categorize to Expenses:Uncategorized with flag '!'. 2026-09-01 open Assets:Checking USD 2026-09-01 open Assets:Savings USD 2026-09-01 open Assets:Cash USD 2026-09-01 open Liabilities:CreditCard USD 2026-09-01 open Income:Salary USD 2026-09-01 open Income:Interest USD 2026-09-01 open Expenses:Groceries USD 2026-09-01 open Expenses:Dining USD 2026-09-01 open Expenses:Rent USD 2026-09-01 open Expenses:Transport USD 2026-09-01 open Expenses:Utilities USD 2026-09-01 open Expenses:Fees USD 2026-09-01 open Expenses:Uncategorized USD 2026-09-01 open Equity:OpeningBalances USD 2026-09-01 * "Opening balances" Assets:Checking 1000 USD Equity:OpeningBalances -1000 USD 2026-09-01 open Income:Consulting USD 2026-09-01 open Expenses:Software USD