summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2018-09-06 21:15:28 +0200
committerJonas Smedegaard <dr@jones.dk>2018-09-06 21:15:28 +0200
commitf0190aedcf0f4f5a7fcd8f1a6000a9b158b0e6b5 (patch)
treeabe2e12d243a3dfdba1d2ff1a58f781695fd2017
parent597b3fe4871b98da7d53dda1933b29fa7c4003b5 (diff)
Detect private transfers early to avoid misdetection.
-rw-r--r--data/merkur.rules23
1 files changed, 12 insertions, 11 deletions
diff --git a/data/merkur.rules b/data/merkur.rules
index af98949..9e6c9fa 100644
--- a/data/merkur.rules
+++ b/data/merkur.rules
@@ -10,6 +10,18 @@ skip 1
date-format %d-%m-%Y
+# transfers
+# (list early since word "privat" can appear in other entries too)
+
+# 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
+
# expenses
if
@@ -179,17 +191,6 @@ if PAYPAL \*FORENINGENF
if BETALT GIROKORT .*moms
account2 liabilities:tax
-# 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