Categorising income vs expenditure with same company

Hi all,

My employer happens to be a company I also make regular purchases with.

This means that I need to manually categorise every transaction as either income or eating out. It would be great if there were cleverer ways of determining this automatically, or for making your own rules.

This is a relatively simple example (money in = income, money out = eating out, barring refunds) but I can imagine more complicated examples where smaller amounts have different categories to larger amounts, etc.