-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yml
56 lines (51 loc) · 1002 Bytes
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
# Where the receipts are stored
# Receipts should be simple text files
receipts_path: "txt"
# Market names roughly ordered by likelyhood.
# Can contain market locations for fuzzy parsing
markets:
Penny:
- penny
- p e n n y
- m a r k t gmbh
REWE:
- rewe
Real:
- real
Netto:
- netto-online
Kaiser's:
- kaiser
- kaiserswerther straße 270
Aldi:
- aldi
- friedrichstr 128—133
Lidl:
- lidl
Edeka:
- edeka
Drogerie:
- drogerie
Kodi:
- kodi
Getraenke:
- Getraenke Tempel
Tanken:
- shell
- esso station
- aral
- total tankstelle
- RK Tankstellen
# Sum keys roughly ordered by likelyhood.
sum_keys:
- (%)Amount
- Bill Grand Total
- gesamt
- total
- sum
- zwischensumme
- bar
sum_format: '\d+(\.\s?|,\s?|[^a-zA-Z\d])\d{2}'
# Matches dates like 17/09/16 and 19/ 09/ 2016
date_format: '.*?(?P<date>(\d{2,4}(\/\s?|[^a-zA-Z\d])\d{2}(\/\s?|[^a-zA-Z\d])(20)?1[3-6]))\s+'