yodlee and invoice.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user