alias a=assets
alias ca=assets:Cash
alias cr=liability:CreditCard
alias l=liability
alias e=expenses
alias i=income
alias f=expenses:Food

; Lines starting with a semicolon are comments and will not be parsed.

; This is an example of what a transaction looks like.
; Every transaction must balance to 0 if you add up all the lines.
; If the last line is left empty, it will automatically balance the transaction.
; 
; 2021-12-25 Starbucks Coffee
;     e:Food:Treats     $5.25   ; To this account
;     c:Chase                           ; From this account

; Use this transaction to fill in the balances from your bank accounts.
; This only needs to be done once, and enables you to reconcile your
; Ledger file with your bank account statements.

2023-01-20 Starting Balances
    ; Add a line for each bank account or credit card
    cr:CHF                   CHF-0
    ca:CHF    								CHF0
    StartingBalance      ; Leave this line alone

; I highly recommend reading through the Ledger documentation about the basics
; of accounting with Ledger
;     https://www.ledger-cli.org/3.0/doc/ledger3.html#Principles-of-Accounting-with-Ledger

; Lots more information about this format can be found on the
; Ledger CLI homepage. Please note however that not quite all
; of the Ledger CLI functionality is supported by this plugin.
;     https://www.ledger-cli.org

; You can add transactions here easily using the "Add to Ledger"
; Command in Obsidian. You can even make a shortcut to it on your
; mobile phone homescreen. See the README for more information.

; If you have questions, please use the Github discussions:
;     https://github.com/tgrosinger/ledger-obsidian/discussions/landing
; If you encounter issues, please search the existing Github issues,
; and create a new one if your issue has not already been solved.
;     https://github.com/tgrosinger/ledger-obsidian/issues


2023/01/20 Coffee & water
    expenses:Food:CHF    CHF7.25
    assets:Cash:CHF

2023/01/21 Flumserberg: Day pass x2
    expenses:Sport:CHF    CHF92.00
    assets:Cash:CHF

2023/01/21 Flumserberg: Lunch
    expenses:Food:CHF    CHF66.20
    assets:Cash:CHF
		
2023/01/21 Flumserberg: Ski material
    expenses:Food:CHF    CHF169.6
    liability:CreditCard:CHF

2023/01/23 Hotel Madrid
    expenses:Travels:CHF    CHF530.28
    liability:CreditCard:CHF

2023/01/23 Mariage Eloi: Location voiture
    expenses:Travels:CHF    CHF51.63
    assets:Cash:CHF

2023/01/22 Dinner: Pizza to go
    expenses:Food:CHF    CHF53.40
    liability:CreditCard:CHF

2023/01/23 Lunch ex-Supélec
    expenses:Food:CHF    CHF24.50
    assets:Cash:CHF

2023/01/23 Migros
    expenses:Food:CHF    CHF17.95
    assets:Cash:CHF

2023/01/24 Coffee
    expenses:Food:CHF    CHF6.50
    assets:Cash:CHF

2023/01/24 Coop
    expenses:Food:CHF    CHF6.75
    assets:Cash:CHF

2023/01/24 Baloise: Home insurance
    expenses:Insurance:CHF    CHF648.30
    assets:Cash:CHF

2023/01/24 Coop
    expenses:Food:CHF    CHF26.75
    assets:Cash:CHF

2023/01/24 SSB
    expenses:Travels:CHF    CHF7.10
    ca:CHF

2023/01/25 Remboursement Credit Card
    cr:CHF    CHF2,937.20
    ca:CHF

2023/01/25 Coffee
    f:CHF    CHF6.00
    ca:CHF

2023/01/25 Bleicherweg: Coffee & water
    f:CHF    CHF8.80
    ca:CHF

2023/01/25 Lunch: Sushi
    f:CHF    CHF18.00
    ca:CHF

2023/01/25 Team coffee
    f:CHF    CHF13.00
    ca:CHF

2023/01/25 Dinner: Gül
    f:CHF    CHF187.00
    cr:CHF

2023/01/25 SBB
    expenses:Travels:CHF    CHF5.40
    ca:CHF

2023/01/26 RiffRaff: Tár
    expenses:Culture:CHF    CHF42.00
    ca:CHF

2023/01/27 Madrid: Cah
    expenses:Current expenses:CHF    €200.00
    ca:CHF

2023/01/26 SSB: trip to airport
    expenses:Travels:CHF    CHF6.80
    ca:CHF

2023/01/26 Madrid: airport uber
    expenses:Travels:CHF    CHF19.08
    ca:CHF

2023/01/28 Madrid: scarf & socks
    expenses:Clothing:CHF    €57.00
    cr:CHF

2023/01/28 Madrid: jumper
    expenses:Clothing:CHF    €96.00
    cr:CHF

2023/01/28 Madrid: Dinner Casino
    f:CHF    €55.80
    ca:CHF

2023/01/29 Madrid: Real cap
    expenses:Clothing:CHF    €20.00
    cr:CHF

2023/01/29 Madrid: cab to the airport
    expenses:Travels:CHF    €27.17
    assets:Cash:CHF

2023/01/29 SSB: airport ride
    expenses:Travels:CHF    CHF6.80
    assets:Cash:CHF

2023/01/31 Coffee
    expenses:Food:CHF    CHF6.00
    assets:Cash:CHF

2023/01/28 Madrid: coat
    expenses:Clothing:CHF    CHF289.25
    liability:CreditCard:CHF

2023/01/31 Coffee
    expenses:Food:CHF    CHF6.60
    assets:Cash:CHF

2023/01/31 Yubikey 5C
    expenses:IT:CHF    CHF64.80
    assets:Cash:CHF

2023/02/01 Coffee
    expenses:Food:CHF    CHF6.00
    assets:Cash:CHF

2023/02/01 Coffee
    expenses:Food:CHF    CHF6.60
    assets:Cash:CHF

2023/02/02 Zürich HB: breakfast
    expenses:Food:CHF    CHF10.95
    assets:Cash:CHF

2023/02/02 SBB
    expenses:Travels:CHF    CHF2.70
    assets:Cash:CHF

2023/02/02 Paris: Cash
    expenses:Current expenses:CHF    €105.00
    assets:Cash:CHF

2023/02/03 Paris: bottines
    expenses:Clothing:CHF    €272.00
    liability:CreditCard:CHF

2023/02/03 Paris: carnet de tickets
    expenses:Travels:CHF    €16.80
    assets:Cash:CHF

2023/02/04 Bread
    expenses:Food:CHF    CHF8.60
    assets:Cash:CHF

2023/02/04 Dry cleaner
    expenses:Clothing:CHF    CHF37.00
    assets:Cash:CHF

2023/02/04 Food
    expenses:Food:CHF    CHF12.95
    assets:Cash:CHF

2023/02/05 Flums: Heisee Schoggi
    expenses:Food:CHF    CHF9.60
    assets:Cash:CHF

2023/02/05 Flumserberg: pass
    expenses:Sport:CHF    CHF81.40
    assets:Cash:CHF

2023/02/05 Petrol
    expenses:Car:CHF    CHF50.10
    assets:Cash:CHF

2023/02/03 SBB
    expenses:Travels:CHF    CHF2.70
    assets:Cash:CHF

2023/02/05 Food
    f:CHF    CHF21.25
    ca:CHF

2023/02/06 Coffee
    expenses:Food:CHF    CHF6.60
    assets:Cash:CHF

2023/02/06 Food
    expenses:Food:CHF    CHF19.40
    assets:Cash:CHF

2023/02/06 Food
    expenses:Food:CHF    CHF7.15
    assets:Cash:CHF

2023/02/07 Coffee
    expenses:Food:CHF    CHF6.00
    assets:Cash:CHF

2023/02/07 Coffee
    expenses:Food:CHF    CHF6.60
    assets:Cash:CHF

2023/02/07 Food
    expenses:Food:CHF    CHF16.40
    assets:Cash:CHF

2023/02/07 Polo Mallets
    expenses:Sport:CHF    £185.97
    liability:CreditCard:CHF

2023/02/08 Coffee
    expenses:Food:CHF    CHF6.00
    assets:Cash:CHF

2023/02/08 Coffee
    expenses:Food:CHF    CHF6.60
    assets:Cash:CHF

2023/02/09 Eloi: cadeau de mariage
    expenses:Famille:CHF    €200.00
    liability:CreditCard:CHF

2023/02/09 Coffee
    expenses:Food:CHF    CHF12.50
    assets:Cash:CHF

2023/02/09 SBB
    expenses:Travels:CHF    CHF2.70
    assets:Cash:CHF

2023/02/10 Déjeuner
    expenses:Food:CHF    €46.80
    assets:Cash:CHF

2023/02/10 Uniqlo
    expenses:Clothing:CHF    €39.80
    assets:Cash:CHF

2023/02/13 Food
    expenses:Food:CHF    CHF11.75
    assets:Cash:CHF

2023/02/11 Bakery
    expenses:Food:CHF    €22.26
    assets:Cash:CHF

2023/02/12 Pierre Hermé
    expenses:Food:CHF    €17.00
    assets:Cash:CHF

2023/02/13 Médecin
    expenses:Health:CHF    CHF289.15
    assets:Cash:CHF

2023/02/14 Valentines
    expenses:Gifts:CHF    CHF40.30
    assets:Cash:CHF

2023/02/14 Coffee
    expenses:Food:CHF    CHF12.00
    assets:Cash:CHF

2023/02/14 Food
    expenses:Food:CHF    CHF24.90
    assets:Cash:CHF

2023/02/15 Coffee
    expenses:Food:CHF    CHF12.50
    assets:Cash:CHF

2023/02/15 Food
    expenses:Food:CHF    CHF40.30
    assets:Cash:CHF

2023/02/17 Arnica pills
    expenses:Health:CHF    CHF19.90
    assets:Cash:CHF

2023/02/17 Arnica gel
    expenses:Health:CHF    CHF31.50
    assets:Cash:CHF

2023/02/18 Lennox
    expenses:Food:CHF    CHF92.50
    assets:Cash:CHF

2023/02/18 NYE 2024, Miami: plane tickets
    expenses:Travels:CHF    CHF621.00
    liability:CreditCard:CHF

2023/02/19 Pharmacy
    expenses:Health:CHF    CHF6.60
    assets:Cash:CHF

2023/02/19 NYE 2024, Miami: Hotel
    expenses:Travels:CHF    CHF1315.00
    assets:Cash:CHF

2023/02/19 Lily's
    expenses:Food:CHF    CHF80.60
    assets:Cash:CHF

2023/02/19 SBB
    expenses:Travels:CHF    CHF4.40
    assets:Cash:CHF

2023/02/20 Migros
    expenses:Food:CHF    CHF12.15
    assets:Cash:CHF

2023/02/22 Panadol
    expenses:Health:CHF    CHF6.50
    assets:Cash:CHF

2023/02/22 Food
    expenses:Food:CHF    CHF9.65
    assets:Cash:CHF

2023/02/23 Food
    expenses:Food:CHF    CHF28.00
    assets:Cash:CHF

2023/02/24 Credit card bill
    liability:CreditCard:CHF    CHF5265.90
    assets:Cash:CHF

2023/02/24 Bunny treat for Meg
    expenses:Food:CHF    CHF6.20
    assets:Cash:CHF

2023/02/24 Snacks
    expenses:Food:CHF    CHF5.05
    assets:Cash:CHF

2023/02/25 Petrol
    expenses:Travels:CHF    CHF75.65
    assets:Cash:CHF

2023/02/25 Falke: socks
    expenses:Clothing:CHF    CHF76.40
    liability:CreditCard:CHF

2023/02/25 Timberland
    expenses:Clothing:CHF    CHF75.00
    liability:CreditCard:CHF

2023/02/25 Lunch
    expenses:Food:CHF    CHF16.00
    assets:Cash:CHF

2023/02/25 Boggi: 2 jumpers
    expenses:Clothing:CHF    CHF214.80
    liability:CreditCard:CHF

2023/02/26 Toto: quick coffee
    expenses:Food:CHF    CHF15.70
    assets:Cash:CHF

2023/02/25 McDo
    expenses:Food:CHF    CHF35.58
    liability:CreditCard:CHF

2023/02/26 Doctor Abuawad
    expenses:Health:CHF    CHF188.00
    assets:Cash:CHF

2023/02/26 Coop
    expenses:Food:CHF    CHF54.55
    assets:Cash:CHF

2023/02/27 Food: tea
    expenses:Food:CHF    CHF10.95
    assets:Cash:CHF

2023/02/27 Books
    expenses:Gift:CHF    CHF38.35
    assets:Cash:CHF

2023/02/28 Tea
    expenses:Food:CHF    CHF5.00
    assets:Cash:CHF

2023/02/28 Cake
    expenses:Food:CHF    CHF2.20
    assets:Cash:CHF

2023/03/01 Megan Birthday dinner
    expenses:Food:CHF    CHF93.25
    assets:Cash:CHF

2023/03/01 Lunch
    expenses:Food:CHF    CHF13.70
    assets:Cash:CHF

2023/03/02 Bakery
    expenses:Food:CHF    CHF5.50
    assets:Cash:CHF

2023/03/02 TV licence
    expenses:Utilities:CHF    CHF335.00
    assets:Cash:CHF

2023/03/02 Migros
    expenses:Food:CHF    CHF34.65
    assets:Cash:CHF

2023/03/02 Gite Mariage Eloi
    expenses:Travels:EUR    €98.00
    assets:Cash:EUR

2023/03/02 SBB
    expenses:Travels:CHF    CHF5.40
    assets:Cash:CHF

2023/03/03 Migros
    expenses:Food:CHF    CHF12.25
    assets:Cash:CHF

2023/03/03 Alnatura
    expenses:Food:CHF    CHF14.30
    assets:Cash:CHF

2023/03/04 Toto
    expenses:Food:CHF    CHF14.20
    assets:Cash:CHF

2023/03/04 Migros
    expenses:Food:CHF    CHF2.15
    assets:Cash:CHF

2023/03/04 Habitat: carte
    expenses:House:CHF    €30.00
    liability:CreditCard:CHF

2023/03/04 Habitat
    expenses:House:CHF    €707.36
    liability:CreditCard:CHF

2023/03/04 Club Baur au Lac
    expenses:Food:CHF    CHF360.50
    liability:CreditCard:CHF