Adds Eddies Produce
This commit is contained in:
@@ -619,7 +619,18 @@
|
|||||||
:invoice-number #"Invoice #\n.*?\n.*?([\d\-]+)\n"
|
:invoice-number #"Invoice #\n.*?\n.*?([\d\-]+)\n"
|
||||||
:total #"Total\s*\n\s+\$([\d\-,]+\.\d{2,2}+)"}
|
:total #"Total\s*\n\s+\$([\d\-,]+\.\d{2,2}+)"}
|
||||||
:parser {:date [:clj-time "MM/dd/yy"]
|
:parser {:date [:clj-time "MM/dd/yy"]
|
||||||
:total [:trim-commas-and-negate nil]}}])
|
:total [:trim-commas-and-negate nil]}}
|
||||||
|
|
||||||
|
{:vendor "Eddie's Produce"
|
||||||
|
:keywords [#"Eddie's Produce"]
|
||||||
|
:extract {:date #"Invoice\s+([0-9]+/[0-9]+/[0-9]+)"
|
||||||
|
:customer-identifier #"Amount\s*\n\s+(.*?)\s{2,}"
|
||||||
|
:invoice-number #"Invoice\s+\S+\s+(\d+)"
|
||||||
|
:total #"([\d\-,]+\.\d{2,2}+)"}
|
||||||
|
:parser {:date [:clj-time "MM/dd/yyyy"]
|
||||||
|
:total [:trim-commas-and-negate nil]}
|
||||||
|
:multi #"\n"
|
||||||
|
:multi-match? #"^\s*Invoice\s{2,}"}])
|
||||||
|
|
||||||
(def excel-templates
|
(def excel-templates
|
||||||
[{:vendor "Mama Lu's Foods"
|
[{:vendor "Mama Lu's Foods"
|
||||||
|
|||||||
Reference in New Issue
Block a user