Young's Market new invoice

This commit is contained in:
Bryce Covert
2020-04-17 07:58:42 -07:00
parent a4341a167e
commit 748ff20a8f

View File

@@ -106,17 +106,17 @@
:total [:trim-commas nil]}} :total [:trim-commas nil]}}
;; Young's Market Co ;; Young's Market Co new statement
{:vendor "Youngs Market" {:vendor "Youngs Market"
:keywords [#"Young's Market Co"] :keywords [#"YOUNG'S MARKET COMPANY"]
:extract {:date #"^([0-9]+/[0-9]+/[0-9]+)" :extract {:date #"([0-9]+/[0-9]+/[0-9]+)"
:customer-identifier #"Customer Name\s+(.*)" :customer-identifier #"SHIP TO SITE: ([\w ]+)"
:invoice-number #"^(?:.*?)\s{2,}([0-9]+)" :invoice-number #"^([0-9]+)"
:total #"([0-9\.,]+)\s+[0-9\.,]+$"} :total #"\$([0-9\.,]+)"}
:parser {:date [:clj-time "MM/dd/yyyy"] :parser {:date [:clj-time "MM/dd/yyyy"]
:total [:trim-commas nil]} :total [:trim-commas nil]}
:multi #"\n" :multi #"\n"
:multi-match? #"^[0-9]+/[0-9]+/[0-9]+\s+[0-9]+\s+INV "} :multi-match? #"^[0-9]+"}
;; Young's Market Co - INVOICE ;; Young's Market Co - INVOICE
{:vendor "Youngs Market" {:vendor "Youngs Market"