diff --git a/src/clj/auto_ap/parse/templates.clj b/src/clj/auto_ap/parse/templates.clj index f9f5ea7d..6c36f0e4 100644 --- a/src/clj/auto_ap/parse/templates.clj +++ b/src/clj/auto_ap/parse/templates.clj @@ -117,6 +117,16 @@ :multi #"\n" :multi-match? #"^ [0-9]+"} + ;; Royal Hawaiian + {:vendor "Royal Hawaiian" + :keywords [#"ROYAL HAWAIIAN"] + :extract {:date #"([0-9]+/[0-9]+/[0-9]+)" + :customer-identifier #"BILL TO.*\n\s+(.*?(?=(\s{2,}|\()))" + :invoice-number #"Invoice#:\s+([0-9]+)" + :total #"INV TOTAL:\s+([0-9\.,]+)"} + :parser {:date [:clj-time "MM/dd/yyyy"] + :total [:trim-commas nil]}} + ;; Young's Market Co new statement {:vendor "Youngs Market" :keywords [#"YOUNG'S MARKET COMPANY"]