autochlor.

This commit is contained in:
Bryce Covert
2020-04-17 21:30:20 -07:00
parent aab1ffd31a
commit a90a60f210

View File

@@ -127,6 +127,28 @@
:parser {:date [:clj-time "MM/dd/yyyy"]
:total [:trim-commas nil]}}
;; AUTO-CHLOR
{:vendor "Auto-Chlor"
:keywords [#"AUTO-CHLOR"]
:extract {:date #"DATE : ([0-9]+/[0-9]+/[0-9]+)"
:customer-identifier #"(.*?)\s{2,}.*CUSTOMER#"
:invoice-number #"INVOICE# :\s+([0-9]+)"
:total #"TOTAL SALE :\s+([0-9,.]+)"}
:parser {:date [:clj-time "MM/dd/yyyy"]
:total [:trim-commas nil]}}
;; Classic Wines
{:vendor "Classic Wines"
:keywords [#"585-9463"]
:extract {:date #"([0-9]+/[0-9]+/[0-9]+)"
:customer-identifier #"Customer Id:.*\n.*\n.*\n(.*)"
:invoice-number #"^.{23}\s+(\w+)"
:total #"\$([0-9\.,]+)"}
:parser {:date [:clj-time "MM/dd/yy"]
:total [:trim-commas nil]}
:multi #"\n"
:multi-match? #"^\s+.*?\d{6,}.*?\$"}
;; Young's Market Co new statement
{:vendor "Youngs Market"
:keywords [#"YOUNG'S MARKET COMPANY"]