Most invoice arguments are not about the rate. They are about the order. A client looks at the total, does the maths their own way, and gets a different number: they taxed the amount before the discount, or they rounded at a different point, and now two people are staring at two totals that both look right. The fix is not a cleverer rate. It is an order of working that is fixed, visible and easy to follow.
That is what this guide covers: how tax is added in the free Invoice Generator on Ovatly, in what order each figure is worked out, and where your own judgement still has to do the work, because the tool applies your numbers and checks nothing for you.
Contents
- Quick answer
- What "correctly" can honestly mean here
- The order the maths runs in
- The label and the rate are yours to set
- How to add tax and VAT, step by step
- Worked example: VAT on a discounted invoice
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
Quick answer
In the Invoice Generator, you set the tax label and rate yourself: VAT, GST and Tax are examples of labels, and the wording is yours. The maths then runs in one fixed order. Each line total is rounded half-up to 2 decimal places, the subtotal is the sum of those rounded lines, the discount comes off the subtotal first, and tax is charged on what remains. Every step is shown line by line in the live preview, so the client can follow the same path you did and land on the same total.
What "correctly" can honestly mean here
There are two kinds of correctness on an invoice, and it helps to keep them separate. The first is legal correctness: whether your tax wording, your rate and your invoice numbering satisfy the rules where you trade. Tax wording and invoice numbering rules differ by country, and no tool on this page can settle them for you. The generator does not check your entries against any law, and this guide does not pretend otherwise.
The second kind is arithmetic correctness: whether the figures on the document follow from each other in a stated order that anyone can re-perform. That is the correctness a tool can promise, and it is the subject of this guide. Get the order right and visible, and the remaining questions are the ones only you can answer: the right label, the right rate, the right wording for your situation.
The order the maths runs in
The generator works through an invoice in four steps, always in the same sequence.
First, each line total is worked out from its quantity and rate and rounded half-up to 2 decimal places. Second, the subtotal is the sum of those rounded lines, not a fresh calculation from unrounded figures, so the lines you can see always add up to the subtotal you can see. Third, the discount comes off the subtotal, reducing the amount the client is actually being charged for the work. Fourth, tax is charged on what remains after the discount, and the total is that reduced amount plus the tax.
The order is shown line by line in the preview as you type, so there is no hidden step between the figures on screen and the figures on the printed document. If a client ever queries a total, the preview is the explanation: each line follows from the one above it.
The label and the rate are yours to set
The tax section of the form takes a label and a rate, and both come from you. If your invoices say VAT, type VAT and your rate. If they say GST, or simply Tax, type that instead. The currency is also yours to choose, alongside the invoice number, the issue date and the due date, your business details and the client's.
This freedom is deliberate, and it cuts both ways. The tool will apply a wrong rate exactly as faithfully as a right one, because it has no table of rates and no knowledge of where you trade. Choosing the label and rate that your own rules require is your job; applying them consistently, in the open, is the tool's.
How to add tax and VAT, step by step
- Open the Invoice Generator and enter your business details, the client details, the invoice number and the dates, both the issue date and the due date.
- Add your line items, each with its quantity and rate, and watch each line total appear, already rounded.
- Set the discount if you are offering one, then set the tax label and rate, and choose the currency.
- Check the live preview. Read it top to bottom the way a client would: lines, subtotal, discount off, tax on the remainder, total.
- Print the invoice or save it as a PDF, or download it as HTML, before you close the page.
Worked example: VAT on a discounted invoice
Take an invoice with two lines. Website design, 1 x 1,200. Hosting setup, 2 x 75, which is 150. The subtotal is 1,350.
A 10 percent discount takes off 135, leaving 1,215. VAT at 20 percent is then charged on 1,215, which adds 243. The total is 1,458.
Now look at the error this order prevents. If the tax had been charged on the pre-discount subtotal of 1,350 instead, the VAT would have come to 270, and the client would have been taxed on 135 of value they never paid. Stated as arithmetic, not as a legal claim: the discount reduces what is charged, so the tax follows the reduced figure. The preview makes that sequence visible rather than leaving it to trust.
Limitations and honest tradeoffs
The tool does not send invoices, take payments or remind clients. It produces the document; delivering it and following it up stay with you. Nothing is saved, either: the invoice exists only while the page is open, so the exported PDF or HTML file is your only copy, and closing the page first loses the work.
The deeper limitation is the one from the start of this guide. The generator cannot tell you whether VAT is the right label for your sale, whether 20 percent is the right rate, or whether your numbering follows your local rules. It makes the maths transparent. The judgements around the maths remain yours, and if they matter, they are worth checking against your own accountant or your tax authority's published guidance.
Common mistakes
- Taxing the pre-discount subtotal. The discount comes off first and tax follows what remains; taxing the full subtotal charges tax on value the client never paid.
- Rounding only at the end. If lines are left unrounded and only the total is rounded, the visible lines stop adding up to the visible subtotal. Rounded lines, summed, keep the document consistent.
- Copying a label because it looks official. VAT, GST and Tax are not interchangeable decorations. Use the wording your own rules require, because the tool will not correct you.
- Closing the page before exporting. Nothing is saved. Print, save as PDF or download as HTML first, every time.
FAQs
Do I set the tax rate myself in the Invoice Generator? Yes. You type the tax label and the rate, such as VAT at 20 percent, GST or plain Tax. The tool applies the numbers you give it and does not check them against the rules of any country.
Is tax charged before or after the discount? After. The discount comes off the subtotal first, and tax is charged on what remains. In the worked example, 10 percent off 1,350 leaves 1,215, and 20 percent VAT on 1,215 adds 243, for a total of 1,458.
How are the line totals rounded? Each line total is rounded half-up to 2 decimal places, and the subtotal is the sum of those rounded lines. The same order of working is shown line by line in the live preview.
Does the tool check my tax wording or invoice number against the law? No. Tax wording and invoice numbering rules differ by country, the labels are yours to set, and the tool does not check them against any law. Use the wording your own rules require.
Does the tool send the invoice or save it for me? No. It does not send invoices, take payments or remind clients, and nothing is saved. The invoice exists only while the page is open, so print it, save it as a PDF or download it as HTML before you close the page.
Conclusion
Adding tax correctly, in the sense a tool can guarantee, means a fixed and visible order: rounded line totals, the subtotal they sum to, the discount off that subtotal, and tax on what remains. The Invoice Generator shows that order line by line in its preview, while the label, the rate and the wording stay yours to set. Once the figures are settled, the other half of a professional invoice is the terms attached to it, covered in our guide to what payment terms to put on an invoice. For more guides in this series, see our Business and Finance guides.