akopulko / ffiiitc

FireFly III Transactions Classifier
MIT License
37 stars 9 forks source link

Potential Enhancement - Adding transaction to "Budget" #15

Open vorwd opened 9 months ago

vorwd commented 9 months ago

Enhancement Idea: Uplift the tool to allow for both categorisation and listed what "budget" it belongs to.

Training for budget name in the same way that the tool does for categorisation.

My use case: Budget is a budget group, yes, but it's also the high-level classification of the transaction. Then the categorisation is used for fine-grained classification of a transaction.

E.g. Coles Supermarket = Budget: FOOD AND DINING; Category: GROCERY E.g. Uber Eats = Budget: FOOD AND DINING; Category: FOOD DELIVERY

E.g. Optus Billing Services = Budget: UTILITIES; Category: PHONE/INTERNET E.g. Red Energy = Budget: UTILITIES; Category: ELECTRICITY

E.g. Westpac General Ins = Budget: INSURANCE; Category: HOME INSURANCE E.g. NRMA = Budget INSURANCE; Category: AUTO INSURANCE

Implimentation idea:

  1. Add-on functionality of the existing ffiiitc tool and each web-hook completes both the budget and category a. if existing budget exists on the transaction, skip
vorwd commented 9 months ago

It looks as if the ffiii API would allow for this, based on my search.

Get -> /v1/budgets | List all budgets

Post -> /v1/transactions | Store a new transaction "budget_id": "4", "category_id": "43", "category_name": "Groceries",

akopulko commented 7 months ago

Thanks, added this to the enhancements.

vorwd commented 7 months ago

Great news. Looking forward to giving it a try.