diff --git a/src/clj/auto_ap/parse/templates.clj b/src/clj/auto_ap/parse/templates.clj index 45ebc88c..ea6a2fc1 100644 --- a/src/clj/auto_ap/parse/templates.clj +++ b/src/clj/auto_ap/parse/templates.clj @@ -12,6 +12,14 @@ :date #"\s+([0-9]+/[0-9]+/[0-9]+)" :invoice-number #"\s+[0-9]+/[0-9]+/[0-9]+\s+([0-9]+)"} :parser {:date [:clj-time "MM/dd/yyyy"]}} + + {:vendor "Gstar Seafood" + :keywords [#"G Star Seafood"] + :extract {:total #"Total\s{2,}([\d\-,]+\.\d{2,2}+)" + :customer-identifier #"(.*?)(?:\s+)Invoice #" + :date #"Invoice Date\s{2,}([0-9]+/[0-9]+/[0-9]+)" + :invoice-number #"Invoice #\s+(\d+)"} + :parser {:date [:clj-time "MM/dd/yyyy"]}} ;; GGM {:vendor "Golden Gate Meat Company, Inc"