An invoice total is only trustworthy if every line above it can be checked. Clients check. They add the items, they look for the discount, and they want to see exactly what the tax was charged on. This guide takes one real invoice apart, line by line, exactly as the live preview of the Invoice Generator shows it: a freelance design job with two items, a 10 percent discount and VAT at 20 percent, ending at a total of 1,458.
Contents
- Quick answer
- The fields above the lines
- How each line is built
- How to build this invoice, step by step
- The walk, line by line
- What happens after the lines
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
Quick answer
The invoice holds two items: Website design at 1 x 1,200, which is 1,200, and Hosting setup at 2 x 75, which is 150. Each line total is rounded half-up to 2 decimal places, and the subtotal is the sum of those rounded lines: 1,350. A 10 percent discount takes 135 off the subtotal, leaving 1,215. VAT at 20 percent is charged on that reduced amount and adds 243. The total is 1,458. Build it in the Invoice Generator, check the live preview, then print it, save it as a PDF or download it as HTML before closing the page, because nothing is saved.
The fields above the lines
Before any numbers, the invoice carries the details that say who is billing whom. You enter your business details, the client details, the invoice number and the dates. These fields sit above the line items in the preview, and they are worth a slow read before you look at the arithmetic: a perfect total on an invoice with the wrong client name or the wrong invoice number is still a wrong invoice.
How each line is built
Every line item carries a quantity and a rate, and a row is simply quantity times rate. That one rule covers both shapes of work. An hourly engagement is rows of hours at an hourly rate. A fixed-price engagement is a row, or a few rows, at the agreed price. The design invoice in this example uses one of each: a fixed piece of work priced as a single row, and a setup task counted in two units. The tool applies the same multiplication, the same rounding and the same order of discount and tax to both rows.
How to build this invoice, step by step
- Open the Invoice Generator and enter your business details, the client details, the invoice number and the dates.
- Add the first line item: Website design, quantity 1, rate 1,200.
- Use Add item for the second row: Hosting setup, quantity 2, rate 75.
- Set the optional discount to 10 percent.
- Set the tax label to VAT and the tax rate to 20 percent.
- Pick the currency the invoice is issued in.
- Check the live preview line by line against the walk below.
- Print the invoice, save it as a PDF, or download it as HTML.
The walk, line by line
Line one: Website design, 1 x 1,200 = 1,200. This is the fixed-price part of the job. The quantity is 1 because the price was agreed for the piece of work as a whole, and the rate carries the full agreed price of 1,200. Quantity times rate gives 1,200, and rounded half-up to 2 decimal places it stays 1,200.
Line two: Hosting setup, 2 x 75 = 150. Here the quantity does the counting: two units at a rate of 75 each. Two times 75 is 150, and again the rounded line total is 150. Notice that the preview shows the rounded figure for each row, so the client is adding up the same numbers you are.
The rounding rule. Each line total is rounded half-up to 2 decimal places. Half-up means a value exactly halfway between two cents rounds upward, the convention clients expect on a bill. This rule governs every line on the invoice, not just these two, and it matters because of what comes next.
The subtotal: 1,350. The subtotal is the sum of the rounded lines: 1,200 plus 150 is 1,350. It is not a sum of unrounded amounts rounded once at the end. Because each line was rounded first, the subtotal is exactly what a client gets when they add the printed lines themselves. The figures reconcile, which is the whole point.
The discount line: 135 off, leaving 1,215. The 10 percent discount is taken off the subtotal: 10 percent of 1,350 is 135. Subtracting it leaves 1,215. The preview shows this line by line, in the open, so the client sees the full price, the reduction and the reduced amount as three separate figures rather than one unexplained smaller number.
The tax line: VAT at 20 percent adds 243. Tax is charged on what remains after the discount, not on the original subtotal. Twenty percent of 1,215 is 243. Had the tax been charged on the original 1,350, it would have added 270. That is a difference of 27 on this one invoice, charged to the client for no reason, and it grows with every larger bill. The order, discount first and tax second, is the detail this whole example turns on.
The total: 1,458. The reduced amount of 1,215 plus the tax of 243 gives the total: 1,458, in whichever currency was picked. Every step that produced it is visible above it on the document: two rounded lines, their sum, the discount off that sum, and the tax on the remainder.
What happens after the lines
The Invoice Generator builds the document and stops there. It does not send the invoice to the client, it does not take payment, and it does not remind anyone about it later. Sending it, by email or any other route, is your job once you have the file. And the file has to exist first: nothing is saved, and the invoice exists only while the page is open. Print it, save it as a PDF or download it as HTML before you close the tab, or the work of building it is gone.
Limitations and honest tradeoffs
The tool is a document builder, not an accounting system. It keeps no copy of the invoice, holds no record of what you have billed, and tracks nothing about payment. The discount and tax are the ones you set: it applies your discount percentage and your tax label and rate in the order described above, and choosing the right rate for your situation is your responsibility, not the tool's. The arithmetic is shown in the open precisely so you can verify it before the invoice leaves your hands.
Common mistakes
- Checking the total but not the order. A total can look plausible while tax was charged on the wrong amount. Confirm the tax line is calculated on the amount after the discount.
- Adding the printed lines and finding a mismatch. That happens when a subtotal is built from unrounded amounts. Here each line is rounded first, so the printed lines always add to the printed subtotal.
- Closing the page before exporting. Nothing is saved. Print, save as PDF or download the HTML first.
- Skipping the fields above the lines. Wrong client details or a wrong invoice number make a correct total useless. Read the header fields in the preview before you export.
FAQs
How is each line total on the invoice calculated? Each row is quantity times rate. The line total is then rounded half-up to 2 decimal places, so every figure the client sees is already the rounded one.
Is the subtotal the sum of the raw amounts or the rounded lines? The subtotal is the sum of the rounded line totals. In the worked example the two rounded lines are 1,200 and 150, so the subtotal is 1,350.
Does the discount come off before or after tax? Before. The discount is taken off the subtotal first, and tax is charged on what remains. A 10 percent discount on 1,350 takes off 135 and leaves 1,215 as the amount tax applies to.
How much VAT does the example invoice add? VAT at 20 percent is charged on 1,215, the amount after the discount, which adds 243. Charged on the original subtotal of 1,350 it would have added 270, a difference of 27.
Does the tool send the invoice or save it for later? No. The tool 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 closing.
Conclusion
Read top to bottom, this invoice explains itself: two lines built as quantity times rate, each rounded half-up to 2 decimal places, a subtotal of 1,350 that is exactly the sum of those lines, a discount of 135 taken off first, VAT of 243 charged on the 1,215 that remains, and a total of 1,458. For the other half of the story, how the same rows change shape when work is billed by the hour instead of by the project, read How to Invoice for Hourly Work vs Fixed Price Projects. More worked guides like this one live in the Business and Finance guides.