From 34bad0dba25c425f878d96bd6c9316a19b08d7c7 Mon Sep 17 00:00:00 2001 From: Bryce Covert Date: Sun, 17 Nov 2019 20:08:09 -0800 Subject: [PATCH] new one. --- src/clj/auto_ap/parse/templates.clj | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/clj/auto_ap/parse/templates.clj b/src/clj/auto_ap/parse/templates.clj index f0929264..c36e87dc 100644 --- a/src/clj/auto_ap/parse/templates.clj +++ b/src/clj/auto_ap/parse/templates.clj @@ -132,6 +132,15 @@ :multi #"\n" :multi-match? #"\s+INVOICE\s+"} + ;; FRESH AND BELT + {:vendor "Fresh and Best Produce" + :keywords [#"freshbestproduce"] + :extract {:date #"\n\s+([0-9]+/[0-9]+/[0-9]+)" + :customer-identifier #"Bill To[^\n]+\n([A-Za-z ']+)" + :invoice-number #"\n\s+[0-9/]+\s+(\d+)" + :total #"Balance Due\s+\$([0-9\.]+)"} + :parser {#_#_:date [:clj-time "MM/dd/yyyy"]}} + ;; PFG - ROMA {:vendor "Performance Food Group - ROMA"