Make bigoli work

This commit is contained in:
2024-10-24 23:26:59 -07:00
parent e3fe08ce9f
commit 7e890cebee
3 changed files with 12 additions and 11 deletions

View File

@@ -170,10 +170,10 @@
;; GOLDEN BRANDS
{:vendor "Bigoli Fresh Pasta"
:keywords [#"bigolifreshpasta.com"]
:extract {:date #"INVOICE #.*?\n.*?([0-9]+/[0-9]+/[0-9]+)" ;; HOW TO GO TO SPCIFIC LINE
:customer-identifier #"BILL TO.*\n\s+(.*?)\s{2,}"
:invoice-number #"INVOICE #.*?\n(\d+)"
:total #" TOTAL\s+([0-9,]+\.[0-9]{2})"}
:extract {:date #"Invoice Date.*?([0-9]+/[0-9]+/[0-9]+)" ;; HOW TO GO TO SPCIFIC LINE
:customer-identifier #"BILL TO.*\n\s*(.*?)\s{2,}"
:invoice-number #"Invoice #.*?(\d+)"
:total #" BALANCE DUE\s+(?:\$)?([0-9,]+\.[0-9]{2})"}
:parser {:date [:clj-time "MM/dd/yyyy"]
:total [:trim-commas nil]}}