diff --git a/src/clj/auto_ap/parse.fiddle b/src/clj/auto_ap/parse.fiddle new file mode 100644 index 00000000..e69de29b diff --git a/src/clj/auto_ap/parse/templates.clj b/src/clj/auto_ap/parse/templates.clj index d7d3bf61..e5f3cb7b 100644 --- a/src/clj/auto_ap/parse/templates.clj +++ b/src/clj/auto_ap/parse/templates.clj @@ -572,6 +572,14 @@ :total #"(?:INVOICE|TOTAL|CREDIT)\s+([\d\.,\-]+\.[\d\-]+( CR)?)"} :parser {:date [:clj-time "MM/dd/yyyy"] :total [:trim-commas-and-negate nil]}} + {:vendor "Primizie Foods" + :keywords [#"primiziefoods.com"] + :extract {:date #"Invoice Date\s+([0-9]+/[0-9]+/[0-9]+)" + :customer-identifier #"BILL TO.*?\n(.*?)\s{2,}" + :invoice-number #"Invoice #\s+(.*?)\n" + :total #"BALANCE DUE\s+\$([\d\.,\-]+\.[\d\-])"} + :parser {:date [:clj-time "MM/dd/yyyy"] + :total [:trim-commas-and-negate nil]}} ;; ROMA BAKERY {:vendor "Roma Bakery Inc."