fixes invoice import issues, fixes issue with too many keys in s3 for general produce.

This commit is contained in:
Bryce
2023-07-19 20:37:10 -07:00
parent edf5851176
commit e08a4cd28a
4 changed files with 2444 additions and 7 deletions

View File

@@ -555,6 +555,7 @@
{:vendor "JFC International"
:keywords [#"48490 MILMONT DRIVE"]
:extract {:date #"([0-9]+/[0-9]+/[0-9]+)"
:account-number #"CUSTOMER #.*?\n\n\s+(.*?)\s{2,}"
:customer-identifier #"SOLD\s+(?:TO\s+)?([\S ]+?)(?=(\s{2,}|\n))"
:invoice-number #"(\S+)\s+(?:[0-9]+/[0-9]+/[0-9]+)"
:total #"(?:INVOICE|TOTAL|CREDIT)\s+([\d\.,\-]+\.[\d\-]+( CR)?)"}