Golden Brands

This commit is contained in:
2024-08-28 08:58:01 -07:00
parent 6fd609be3e
commit 8d1303e83d

View File

@@ -159,10 +159,10 @@
;; GOLDEN BRANDS
{:vendor "Golden Brands San Jose"
:keywords [#"GOLDEN BRANDS"]
:extract {:date #"(?:.*\n){4}(.*)" ;; HOW TO GO TO SPCIFIC LINE
:account-number #"Account:\s*(.*?)\n"
:extract {:date #"(?:.*)((?:Mon|Tue|Wed|Thu|Thurs|Fri|Sat|Sun) .*)" ;; HOW TO GO TO SPCIFIC LINE
:account-number #"Account:\s*(.*?)(\s{2,}|\n)"
:invoice-number #"Invoice#: (\d+)"
:total #"Invoice Total\s+([0-9,]+\.[0-9]{2})"}
:total #"Invoice Total\s+([\-0-9,]+\.[0-9]{2})"}
:parser {:date [:clj-time "EEE MMM dd, yyyy HH:mm aa"]
:total [:trim-commas nil]}}