I found some posts about beancount for personal finances, but not really accounting (also searched myself and my “AI employees” the internet, no result found :()
Invoicing: done, I needed this ASAP, so I have a pipeline, invoices I have both in structured files (JSON) and PDF
Expenses: all collected electronically and annotated with structured data files (JSON again), thanks to Claude (I needed them ASAP in the past for estimates)
So I have all the track record, what I have left is to generate the beancount format, but did not find anything online, so I was wondering someone else here already does it with the beancount+fava stack.
For example, unsure how to match the swiss accounting codes (so good i canm “steal” a lot from banana templates - btw this is AI-generated based on a Banana example accounting I did and exported)
; CH1140 ? or simply 1140?
2025-01-01 open Assets:CH1140-AdvancesAndLoans CHF
2025-01-01 open Assets:CH1176-WithholdingTax CHF
2025-01-01 open Assets:CH1179-TaxAtSource CHF
2025-01-01 open Assets:CH1180-SocialInsuranceReceivables CHF
2025-01-01 open Assets:CH1190-VariousReceivables CHF
2025-01-01 open Assets:CH1199-Deposits
; ...
; ============================================================================
; JOURNAL TRANSACTIONS
; ============================================================================
2025-01-01 * "BUY PC" ^doc-1
Expenses:CH4400-PurchasedServices 2691.30 CHF
Assets:CH1025-BankAccountUSD -3000.00 USD @ 0.8971 CHF
2025-03-01 * "PayPal Convert USD to CHF" ^doc-3
Assets:CH1020-BankAccountCHF 900.00 CHF
Assets:CH1025-BankAccountUSD -1000.00 USD @ 0.90 CHF
2025-03-02 * "XY paid me" ^doc-2
Assets:CH1025-BankAccountUSD 6000.00 USD @ 0.9153 CHF
Income:CH3400-ProvidedServices -5491.80 CHF
2025-11-15 * "PayPal FX 500 USD" ^doc-5
Assets:CH1020-BankAccountCHF 400.00 CHF
Assets:CH1025-BankAccountUSD -500.00 USD @ 0.80 CHF
2025-12-31 * "Exchange rate loss Bank account USD"
Expenses:CH6949-CurrencyLosses 312.12 CHF
Equity:CH2891-RetainedEarnings -312.12 CHF
(Why not Banana? They just changed sub model, and might do again, so no thanks. Also their software has no MCP, pain to automate, while beancount+playwright is perfect text base, i can version control the data with git, plus for my agents their web ui is easier to use. Bexio is an overkill and MagicHeidi should be rather called SuperLimitedHeidi).