Makes southern glazers choose account number correctly

This commit is contained in:
2023-12-03 20:40:32 -08:00
parent 20bf26614a
commit d235ea604c

View File

@@ -101,7 +101,7 @@
:extract {:date #"INVOICE DATE(?s:.*)(?= (?:[0-9]+/[0-9]+/[0-9]+)\s+([0-9]+/[0-9]+/[0-9]+)) " :extract {:date #"INVOICE DATE(?s:.*)(?= (?:[0-9]+/[0-9]+/[0-9]+)\s+([0-9]+/[0-9]+/[0-9]+)) "
:invoice-number #"INVOICE\n(?:.*?)(?=\d{4,})(\d+)" :invoice-number #"INVOICE\n(?:.*?)(?=\d{4,})(\d+)"
:total #"PAY THIS AMOUNT(?s:.*)(?= ([0-9,]+\.[0-9]{2}))" :total #"PAY THIS AMOUNT(?s:.*)(?= ([0-9,]+\.[0-9]{2}))"
:account-number #"ACCOUNT #.*\n.*\s+(\d+)"} :account-number #"ACCOUNT #.*\n.*[\n]?\s+(\d+)"}
:parser {:date [:clj-time "MM/dd/yy"] :parser {:date [:clj-time "MM/dd/yy"]
:total [:trim-commas nil]} :total [:trim-commas nil]}
:multi #"\f" :multi #"\f"