From 85ce806dfce6b2a0a7a164e7b2274cd574da8c7f Mon Sep 17 00:00:00 2001 From: Bryce Date: Wed, 14 Jun 2023 08:20:44 -0700 Subject: [PATCH] fixes the invoice number on reel invoices. --- src/clj/auto_ap/parse/templates.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clj/auto_ap/parse/templates.clj b/src/clj/auto_ap/parse/templates.clj index 7e5c93e1..18693745 100644 --- a/src/clj/auto_ap/parse/templates.clj +++ b/src/clj/auto_ap/parse/templates.clj @@ -605,7 +605,7 @@ :keywords [#"reelproduce.com"] :extract {:date #"([0-9]+/[0-9]+/[0-9]+)" :customer-identifier #"Bill To(?:.*?)\n\n\s+(.*?)\s{2,}" - :invoice-number #"Invoice #\n.*?([\d\-]+)\n" + :invoice-number #"Invoice #\n.*?\n.*?([\d\-]+)\n" :total #"Total\s*\n\s+\$([\d\-,]+\.\d{2,2}+)"} :parser {:date [:clj-time "MM/dd/yy"] :total [:trim-commas-and-negate nil]}}])