|Pecha c3eb30b4c8||2 years ago|
|guide||2 years ago|
|.drone.yml||2 years ago|
|.gitignore||2 years ago|
|Bank.cs||2 years ago|
|LICENSE||2 years ago|
|Program.cs||2 years ago|
|README.md||2 years ago|
|Rule.cs||2 years ago|
|RuleMatch.cs||2 years ago|
|Statement.cs||2 years ago|
|bunymuny.csproj||2 years ago|
BunyMuny parses the CSV output of various bank statement listings and converts it to something more human readable with nice visualisations.
git clone https://git.bune.city/lynnesbian/BunyMuny cd BunyMuny dotnet build
- ME Bank (guide)
The rules file
By default, BunyMuny checks for rules in
rules.csv in the current directory.
This is a Comma Separated Values file, which can be edited either by hand, or with a program like Libreoffice Calc or Microsoft Office Excel.
An example rules file might look like this:
Match,Value,Category,Description,CaseSensitive Start,Purchase Cash Converters,Personal,Cashies,true Exact,Purchase TRANSLINK BRISBANE,Transport,Go Card,true
This means that:
- Any statement that starts with "Purchase Cash Converters" (case sensitive) will be assigned the category "Personal", and the description "Cashies".
- Any statement with the exact description "Purchase TRANSLINK BRISBANE" (case sensitive) will be assigned the category "Transport", and the description "Go Card".
- Any statement that doesn't match these two rules will be categorised as "Other", and will use the description provided by the bank file.
Matchspecifies the type of matching to perform. It can be any of the following:
- "Start": Match the start of the description.
- "End": Match the end of the description.
- "Contains": Match anywhere in the description.
- "Exact": Only match if the bank statement's description is exactly equal to the provided value.
- "Regex": Match with regular expressions.
Valuespecifies the value to match against.
Categoryis the category that the statement should be filed under.
Descriptionis a short description to distinguish the particular merchant.
CaseSensitivespecifies whether or not the match should be case sensitive.