yodlee and invoice.

This commit is contained in:
2022-01-15 10:43:48 -08:00
parent 3ec3718548
commit 1f96868ee1
4 changed files with 11 additions and 8 deletions

View File

@@ -162,13 +162,13 @@
:keywords [#"WORLDWIDE PRODUCE"]
:extract {:date #"([0-9]+/[0-9]+/[0-9]+)"
:customer-identifier #"Bill to.*\n\s*(.*?(?=(\s{2,}|\()))"
:invoice-number #"Invoice No\.\s+(\d+)"
:total #"Total\s+([0-9\.,]+)"
:invoice-number #"(?:Invoice|Adjustment) No\.\s+(\d+)"
:total #"Total \S*\s+([0-9\.,\-]+)"
:account-number #"Customer No.\s+(.*?)\s{2}"}
:parser {:date [:clj-time "MM/dd/yy"]
:total [:trim-commas nil]}
:multi (. java.util.regex.Pattern (compile (-> \formfeed str) java.util.regex.Pattern/CASE_INSENSITIVE))
:multi-match? #"Total\s+[0-9\.]+"
:multi-match? #"(Total\s+[0-9\.]+|Total Order)"
}
;; AUTO-CHLOR