summaryrefslogtreecommitdiff
path: root/bank/merkur.rules
diff options
context:
space:
mode:
Diffstat (limited to 'bank/merkur.rules')
-rw-r--r--bank/merkur.rules89
1 files changed, 89 insertions, 0 deletions
diff --git a/bank/merkur.rules b/bank/merkur.rules
new file mode 100644
index 0000000..18cc6fd
--- /dev/null
+++ b/bank/merkur.rules
@@ -0,0 +1,89 @@
+account1 assets:bank:dr. jones
+account2 assets:advances:unknown
+
+fields date, description1, amount1,, date2, code, description2
+
+amount %amount1 kr
+description %description1 - %description2
+
+skip 1
+
+date-format %d-%m-%Y
+
+# expenses
+
+if (Årsgebyr Visa/Dankort|VISA KONTANTHÆVNINGSGEBYR|Gebyr iflg nota)
+ account2 expenses:bank:fees
+
+if (UNOTEL.DK|BETALT GIROKORT (tlf|Unotel fak33015))
+ account2 liabilities:payable:phone
+
+if (SLICEHOST|BYTEMARK|HOSTMASTER|THE RACKSPACE CLOUD|CLICKATELL)
+ account2 liabilities:payable:hosting
+
+if (internet persp|BETALT GIROKORT inet|BS UNOTEL)
+ account2 liabilities:payable:internet
+
+if (CARTFT.COM|COMPWARE|AV-CABLES.DK|PROSHOP|FØNIKS COMPUTER|SINDATA|TELEWAYDANM|KOMPLETT.DK|OLIMEX|MYTRENDYPHONE|ELEKTRONIK LAVPRIS)
+ account2 liabilities:payable:durables
+
+if BILLIGTONER.DK
+ account2 liabilities:payable:goods
+
+if BETALT GIROKORT visitkort
+ account2 liabilities:payable:marketing
+
+if (DANTAXI|AAR-KOL-HOR.TAXA|FORUM STATION|EUROPARK)
+ account2 liabilities:payable:travel:car
+
+if (\bDSB\b|KORT OG GODT|\bMTA\b|NJT NWK-INT AIR)
+ account2 liabilities:payable:travel:train
+
+if (EASYJET|DEN DANSKE REJSEGR|AIRASIA|LION AIR)
+ account2 liabilities:payable:travel:plane
+
+if USCUSTOMS
+ account2 liabilities:payable:customs
+
+if (HOSTEL|HOTEL)
+ account2 liabilities:payable:travel:accomodation
+
+if PAYPAL \*FORENINGENF
+ account2 liabilities:payable:conference
+
+# taxes
+
+if BETALT GIROKORT .*moms
+ account2 tax:sales payable
+
+# transfers
+
+# TODO: verify where to most sensibly place these
+if (privat|Indskud til madkasse)
+ account2 assets:advances:jonas
+
+if (BETALT GIROKORT .*skat|\(OVF.\) 19483495)
+ account2 assets:advances:jonas
+
+# income
+
+if Børneuniversitetet
+ account2 income:sales:bu
+
+if (DelebilF|Overførsel Faktura nr.)
+ account2 income:sales:db
+
+if DGI-HUSET
+ account2 income:sales:dgih
+
+if FRONTLØBERNE
+ account2 income:sales:fl
+
+if KAOSPILOTERNE
+ account2 income:sales:kp
+
+if LIVSTEATER
+ account2 income:sales:opgang2
+
+if Overførsel bæredygtig it-drift
+ account2 income:sales:niebieski