;---------------------------------------------------------------------- ; ledger2beancount conversion notes: ; ; - Account Assets:wallet cash renamed to Assets:Wallet-cash ; - Account Expenses:Food and drink renamed to Expenses:Food-and-drink ;---------------------------------------------------------------------- ; SPDX-FileCopyrightText: © 2018 Martin Michlmayr ; ; SPDX-License-Identifier: GPL-3.0-or-later 1970-01-01 open Assets:Test 1970-01-01 open Assets:Test2 1970-01-01 open Assets:Test3 1970-01-01 open Assets:Test4 1970-01-01 open Assets:Test5 1970-01-01 open Assets:Test6 1970-01-01 open Assets:Test7 1970-01-01 open Assets:Test8 1970-01-01 open Assets:Test9 1970-01-01 open Income:Test 1970-01-01 open Equity:Opening-Balance 1970-01-01 commodity EUR 1970-01-01 commodity USD 1970-01-01 open Assets:Cash 1970-01-01 open Assets:Test10 1970-01-01 open Assets:Test11 1970-01-01 open Assets:Wallet 1970-01-01 open Assets:Wallet-cash 1970-01-01 open Equity:Adjustments 1970-01-01 open Expenses:Drinks 1970-01-01 open Expenses:Food 1970-01-01 open Expenses:Food-and-drink 1970-01-01 open Expenses:Tips 1970-01-01 commodity GBP 1970-01-01 commodity THB 2018-03-23 * "Test 1" Assets:Test 10.00 EUR Equity:Opening-Balance -10.00 EUR 2018-03-24 balance Assets:Test 10.00 EUR 2018-03-24 * "Test 2" Assets:Test 10.00 EUR Equity:Opening-Balance -10.00 EUR 2018-03-25 balance Assets:Test 20.00 EUR 2018-03-25 balance Equity:Opening-Balance -20.00 EUR 2019-01-18 * "Assertion with commodity mapping" Assets:Test2 10.00 USD Equity:Opening-Balance -10.00 USD 2019-01-19 balance Assets:Test2 10.00 USD 2019-01-18 txn "KFC" Expenses:Food 20.00 USD Assets:Cash -20.00 USD 2019-01-19 balance Assets:Cash -20.00 USD 2019-01-19 txn "KFC" Expenses:Food 20.00 USD Expenses:Drinks 3.00 USD Assets:Cash 2019-01-20 balance Assets:Cash -43.00 USD ; account name needs mapping 2019-01-20 txn "KFC" Expenses:Food-and-drink 20.00 USD Expenses:Tips 3.00 USD Assets:Wallet-cash 2019-01-21 balance Assets:Wallet-cash -23.00 USD 2019-01-21 pad Assets:Cash Equity:Adjustments 2019-01-22 balance Assets:Cash 500.00 USD 2019-01-25 * "Balance assertion with comment" Assets:Test3 10.00 EUR ; comment Equity:Opening-Balance -10.00 EUR 2019-01-26 balance Assets:Test3 10.00 EUR 2019-01-25 * "Balance assertion with tag" Assets:Test4 10.00 EUR tags: "foo" Equity:Opening-Balance -10.00 EUR 2019-01-26 balance Assets:Test4 10.00 EUR 2019-01-29 * "Balance assertion with metadata" Assets:Test5 10.00 EUR foo: "bar" Equity:Opening-Balance -10.00 EUR 2019-01-30 balance Assets:Test5 10.00 EUR 2019-01-29 pad Assets:Test6 Equity:Adjustments 2019-01-30 balance Assets:Test6 500.00 USD 2019-04-20 txn "Wallet" Assets:Wallet 500.00 THB Equity:Opening-Balance 2019-04-28 txn "Food" Expenses:Food 10.00 THB Assets:Wallet 2019-04-29 balance Assets:Wallet 490.00 THB 2020-02-15 txn "Specify amount" Assets:Test7 20.00 EUR Equity:Opening-Balance -20.00 EUR 2020-02-15 note Assets:Test7 "Balance assertion with 0 value" 2020-02-16 balance Assets:Test7 20.00 EUR 2020-02-15 txn "Specify amount" Assets:Test8 30.00 EUR Equity:Opening-Balance -30.00 EUR 2020-02-15 note Assets:Test8 "Balance assignment with a single posting" 2020-02-16 balance Assets:Test8 30.00 EUR 2020-02-15 note Assets:Test8 "Balance assignment with a single posting" 2020-02-16 balance Assets:Test8 30.00 EUR 2020-02-15 note Assets:Test8 "Balance assignment with a single posting" 2020-02-16 balance Assets:Test8 30.00 EUR 2020-02-15 note Assets:Test8 "Balance assignment with a single posting" 2020-02-16 balance Assets:Test8 30.00 EUR 2020-02-15 note Assets:Test8 "Balance assignment with a single posting" 2020-02-16 balance Assets:Test8 30.00 EUR 2020-02-15 txn "Specify amount" Assets:Test9 40.00 EUR Equity:Opening-Balance -40.00 EUR 2020-02-15 * "Balance assertion with a single posting - use bucket to balance" Assets:Test9 5.00 EUR Income:Test 2020-02-16 balance Assets:Test9 45.00 EUR 2020-06-22 * "Balance assignment with inline math" Assets:Test10 1 GBP Assets:Test11 2020-06-23 balance Assets:Test10 0.25+ 0.75 GBP