tweaks
This commit is contained in:
@@ -176,15 +176,15 @@
|
||||
|
||||
;; Young's Market Co new statement
|
||||
{:vendor "Youngs Market"
|
||||
:keywords [#"YOUNG'S MARKET COMPANY"]
|
||||
:keywords [#"(YOUNG'S MARKET COMPANY|Young.*Statement)"]
|
||||
:extract {:date #"([0-9]+/[0-9]+/[0-9]+)"
|
||||
:customer-identifier #"SHIP TO SITE: ([\w ]+)"
|
||||
:invoice-number #"^([0-9]+)"
|
||||
:total #"\$([0-9\.,]+)"}
|
||||
:customer-identifier #"Customer Name +([\w ]+)"
|
||||
:invoice-number #"\s{2,}([0-9]+)"
|
||||
:total #"\$?([0-9,]+\.[0-9]+)"}
|
||||
:parser {:date [:clj-time "MM/dd/yyyy"]
|
||||
:total [:trim-commas nil]}
|
||||
:multi #"\n"
|
||||
:multi-match? #"^[0-9]+"}
|
||||
:multi-match? #"^[0-9]+.*\$?([0-9,]+\.[0-9]+).*\$?([0-9,]+\.[0-9]+)"}
|
||||
|
||||
;; Young's Market Co - INVOICE
|
||||
{:vendor "Youngs Market"
|
||||
|
||||
Reference in New Issue
Block a user