The question: "My expense app put a hospital bill under Shopping. I fixed it, but I am worried it will keep doing this. How do I make the correction stick?" Correct that row, create or check a rule for that merchant, and then look at what else the app filed in the same way.
1. Why did it happen?
Automatic categorisation guesses from the merchant name and sometimes the amount. A hospital that sells medicines, a pharmacy counter inside a mall or a payment gateway name that looks like a shop can all send the guess in the wrong direction. It is not personal; the text on the statement was ambiguous.
2. What do I do first?
- Open the transaction and change its category to Health or Medical.
- Check whether the app lets you create a rule from the merchant name. If it does, create one so that this merchant always goes to Health.
- If the statement shows a strange code instead of the hospital's name, add a merchant alias so that the app reads it as the name you know.
- Search the same merchant in earlier months and correct those rows too.
3. How does SpendixAI handle this?
Categorisation works in stages: your own rules come first, then your history and similar merchants, and only if AI is switched on, an AI model for whatever is left. It uses the normalised merchant name and an amount band, not your name, account numbers or balances. Your corrections become history, so the next row from that merchant is more likely to land in the right place. You can add merchant aliases, switch AI off for a feature, or switch it off entirely; unmatched items are then held for review.
4. Worked example with made-up numbers
| Row | Amount | Auto category | Fix |
|---|---|---|---|
| City hospital, pharmacy counter | ₹3,420 | Shopping | Health |
| Same hospital, consultation | ₹1,200 | Shopping | Health |
| Mall store, clothes | ₹2,150 | Shopping | No change |
Before the fix, Shopping shows ₹6,770 for the month (3,420 plus 1,200 plus 2,150). After it, Shopping is ₹2,150 and Health is ₹4,620. That one correction changes how the month looks by more than two thirds.
5. What should I check afterwards?
- Did the correction apply to the next import from the same merchant?
- Are there other medical merchants, such as labs or clinics, that need the same treatment?
- Is the Health category set up with the sub-category you want, such as Doctor, Medicines or Tests?
What about the merchant text that looks nothing like a hospital?
Statements often show a billing company or a short code, not the name you know. If the row says something like a payment-collection name followed by digits, do not make a rule on the generic part, or every payment collected by that company will move to Health. Make the alias on the full string you saw for this hospital, check it on the next import, and add another alias if the string changes. A few minutes now saves a lot of clean-up later.
Also decide what the right category is for a pharmacy bill from the same hospital. Many people file it with medical costs; others keep a separate Medicines sub-category so they can see it. Either works if you choose it once and stay with it.
The honest limit
No categoriser is perfect, and we would not promise that every statement layout or merchant string will be read correctly. Expect a short review after each import, especially in the first two or three months while your history is small. If a bill is for insurance or tax purposes, keep the original receipt with the transaction and confirm with your CA or insurer what they need.
Useful ideas start with a clearer picture of your own spending.
Explore your reports


