diff --git a/ledger/update.jq b/ledger/update.jq index f0ced37..bb5da5f 100644 --- a/ledger/update.jq +++ b/ledger/update.jq @@ -11,11 +11,14 @@ def categorize_transaction: elif test("ALASKA\\s+AIR") then "Expenses:Travel:Flights" elif test("HELP\\.UBER\\.COMCA") then "Expenses:Travel:Taxi" elif test("STEAM GAMES") then "Expenses:Entertainment:Games" - elif test("YouTubePremium|DOORDASHDASHPASS|Prime\\s+Video\\s+Channels|TIDAL\\.COM|Amazon Grocery|SIMPLEFIN BRIDGE|(APPLE\\.COM.*RECURRING$)") then "Expenses:Subscriptions" + elif test("OLLAMA|YouTubePremium|DOORDASHDASHPASS|Prime\\s+Video\\s+Channels|TIDAL\\.COM|Amazon Grocery|SIMPLEFIN BRIDGE|(APPLE\\.COM.*RECURRING$)") then "Expenses:Subscriptions" elif test("MOMS OF|SAFEWAY\\.COM|MAYORGA") then "Expenses:Food:Groceries" - elif test("CHICK-FIL-A|GEMELLIS\\s+ITALIAN|CHIPOTLE|SHEETZ|KUNG\\s+FU\\s+TEA") then "Expenses:Food:Restaurants" + elif test("PROJECT GLOW \\(FOOD\\)|SPICELIFE|CHICK-FIL-A|GEMELLIS\\s+ITALIAN|CHIPOTLE|SHEETZ|KUNG\\s+FU\\s+TEA") then "Expenses:Food:Restaurants" elif test("GRUBHUB|DD\\s+\\*DOORDASH") then "Expenses:Food:Delivery" elif test("MARKET@WORK") then "Expenses:Food:Snacks" + elif test("PROJECT GLOW \\(BEV\\)|NAGADI COFFEE|BLACK LION CAFE") then "Expenses:Luxuries:Drinks" + elif test("PROG SELECT INS") then "Expenses:Auto:Insurance" + elif test("AUTOZONE") then "Expenses:Auto:Maintenance" elif test("Interest earned") then "Income:Interest" else "UNKNOWN" end;