diff --git a/src/clj/auto_ap/parse/templates.clj b/src/clj/auto_ap/parse/templates.clj index 52420280..4090a8d4 100644 --- a/src/clj/auto_ap/parse/templates.clj +++ b/src/clj/auto_ap/parse/templates.clj @@ -264,6 +264,16 @@ :parser {:date [:clj-time "MM/dd/yyyy"] :total [:trim-commas nil]}} + ;; THE WATER PROS + {:vendor "The Water Pros" + :keywords [#"The Water Pros, Inc"] + :extract {:date #"DATE\s+([0-9]+/[0-9]+/[0-9]+)" + :customer-identifier #"BILL TO.*\n(.*?)(?=\s{2,})" + :invoice-number #"INVOICE #\s+(\w+)" + :total #" TOTAL\s+([0-9,]+\.[0-9]{2})"} + :parser {:date [:clj-time "MM/dd/yyyy"] + :total [:trim-commas nil]}} + ;; REGAL {:vendor "Regal Wine Co" :keywords [#"REGAL WINE"]