I have a query which give me the Gross Amount for a Repair-
That amount is 10.88.
I also pull back the VAT rate that corresponds to the Repair.
In this instance it is 20.00. (20%) But this could in theory be any rate, for example 17.50.
These two fields are called "GrossAmount" and "VatRate".
What I need to try and do is work out the Vat and the Net Amount.
How would I achieve this?