;examples:csv: monefy
This commit is contained in:
parent
a982f385c7
commit
5206b10d8e
9
examples/csv/monefy.csv
Normal file
9
examples/csv/monefy.csv
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
date,account,category,amount,currency,converted amount,currency,description
|
||||||
|
06/12/2021,Cash,Bills,-55,USD,-55,USD,fbbd
|
||||||
|
06/12/2021,Cash,Clothes,-25,USD,-25,USD,
|
||||||
|
06/12/2021,Cash,Salary,"1,280.8",USD,"1,280.8",USD,salary
|
||||||
|
06/12/2021,Payment card,Car,-180,USD,-180,USD,
|
||||||
|
06/12/2021,Payment card,Savings,"4,884",USD,"4,884",USD,geehh
|
||||||
|
06/12/2021,Payment card,Gifts,-12,USD,-12,USD,gift
|
||||||
|
06/12/2021,Cash,To 'Payment card',-200,USD,-200,USD,
|
||||||
|
06/12/2021,Payment card,From 'Cash',200,USD,200,USD,
|
||||||
|
20
examples/csv/monefy.csv.rules
Normal file
20
examples/csv/monefy.csv.rules
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
skip 1
|
||||||
|
fields date, account, category, amount_, currency_, converted_amount, converted_currency, description
|
||||||
|
date-format %d/%m/%Y
|
||||||
|
amount %amount_ %currency_
|
||||||
|
decimal-mark .
|
||||||
|
|
||||||
|
account1 assets:%account
|
||||||
|
if %account Payment card
|
||||||
|
account1 assets:Checking
|
||||||
|
|
||||||
|
account2 revenues:%category
|
||||||
|
if %amount_ -
|
||||||
|
account2 expenses:%category
|
||||||
|
if %category (To|From).*Payment card
|
||||||
|
account2 assets:Checking
|
||||||
|
if %category (To|From).*Cash
|
||||||
|
account2 assets:Cash
|
||||||
|
if %category Savings
|
||||||
|
account2 assets:Savings
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user