Ian, could you be more specific ? I mean, Belgian VAT or "just" VAT ?
I don't recognize "formulas" on Belgian -or any- VAT, except for the lot of it;
In our app (ERP) quite a number of manyears were spent on VAT-only. So if your problem is general VAT ? you better give up ({g}/{s})