path: testdata/index_amount.csv encoding: UTF-8 account: "Liabilities:Okane Card" account_type: liability commodity: USD format: date: "%Y-%m-%d" fields: date: 1 amount: 2 payee: 3 rewrite: - matcher: payee: Debit Card (?P\d+) (?P.*) - matcher: payee: cashback account: Income:Misc pending: true - matcher: # test case insensitive payee: MIGROS account: Expenses:Grocery --- path: testdata/label_credit_debit.csv encoding: UTF-8 account: Assets:Okane Bank account_type: asset commodity: JPY format: date: "%Y/%m/%d" fields: date: 日付 payee: 摘要 debit: 引き出し額 credit: 預け入れ額 balance: 口座残高 rewrite: - matcher: payee: Debit Card (?P\d+) (?P.*) - matcher: payee: 五反田ATM account: Assets:Cash - matcher: payee: Migros account: Expenses:Grocery --- path: testdata/csv_multi_currency.csv encoding: UTF-8 account: Assets:Okane Bank account_type: asset commodity: JPY operator: Okane Bank (commission) format: date: "%Y/%m/%d" delimiter: "\t" fields: date: お取り引き日 payee: 摘要 debit: 出金額 credit: 入金額 balance: 残高 commodity: 通貨 rate: 適用レート secondary_amount: 取引円換算額 commodity: EUR: precision: 2 CHF: precision: 2 rewrite: - matcher: payee: .*Visaデビット (?P\d+) (?P.*)$ - account: Assets:Wire matcher: payee: 円普通預金(へ|より)振替 conversion: commodity: JPY rate: price_of_primary - account: Assets:Wire matcher: payee: 外貨普通預金(ユーロ)へ振替 conversion: amount: compute commodity: EUR rate: price_of_secondary - account: Assets:Wire matcher: payee: 外貨普通預金(スイスフラン)へ振替 conversion: amount: compute commodity: CHF rate: price_of_primary - account: Assets:Wire matcher: payee: 外貨普通預金(米ドル)より振替 # No need to do conversion, given conversion is happening just once - matcher: payee: Hamachi Super account: Expenses:Grocery --- path: testdata/csv_template.csv encoding: UTF-8 account: Assets:Brokers:Schrank account_type: asset commodity: primary: USD operator: Broker Schrank format: date: "%m/%d/%Y" fields: date: Date payee: template: "{category} - {note}" category: Action note: Description secondary_commodity: Symbol secondary_amount: Quantity rate: Price charge: "Fees & Comm" amount: Amount row_order: new_to_old rewrite: - account: Assets:Brokers:Schrank conversion: {} matcher: - category: "Reinvest Shares" - category: "Buy" - account: Income:Dividend matcher: - category: Reinvest Dividend - account: Income:Interest matcher: - category: Credit Interest - account: Assets:Receivables:Advances matcher: - payee: WIRED FUNDS FEE - payee: WAIVE WIRE FEE - account: Assets:Wire:Unknown pending: true matcher: - payee: Wire Sent - account: Expenses:Tax:Income matcher: - category: NRA Tax Adj --- path: testdata/iso_camt encoding: UTF-8 account_type: asset operator: Okane Bank (fee) commodity: CHF format: commodity: CHF: precision: 2 EUR: precision: 2 rewrite: - matcher: additional_transaction_info: "Okanecard purchase [0-9.]+ [0-9:]+ (?P.*) Card number: \\d+" - matcher: additional_transaction_info: "Okane Pay (?P.*) 0400000\\d+" - matcher: additional_transaction_info: "Cash Point [0-9.]+ [0-9:]+ (?P.*) Card number: \\d+" account: Expenses:Cash - matcher: domain_code: PMNT domain_family: ICDT domain_sub_family: AUTT creditor_name: "(?P.*)" additional_transaction_info: "Payment order.*" - matcher: domain_code: PMNT domain_family: RCDT domain_sub_family: OTHR debtor_name: Money Bank ultimate_debtor_name: (?P.*) account: Assets:Wire:Money Bank - matcher: domain_code: PMNT domain_family: RCDT domain_sub_family: SALA account: Income:Salary payee: Taro and Jiro --- path: testdata/iso_camt.xml account: Assets:Okane Bank rewrite: - matcher: payee: "Herr.*Frau.*" account: Expenses:House - matcher: payee: OKANE VERSICHERUNGEN account: Expenses:Insurance pending: true - matcher: - payee: EURO GROCERY - payee: 山田商店 account: Expenses:Grocery --- path: testdata/viseca.txt encoding: UTF-8 account: Liabilities:Okane Card account_type: liability operator: Okane Card (fee) commodity: CHF rewrite: - account: Assets:Wire matcher: - payee: Your payment - Thank you - account: Expenses:Telecom matcher: - category: Telecommunication services - account: Expenses:Car:Gas pending: true matcher: - category: Service stations - account: Expenses:Amusement matcher: payee: YouTubePremium