Invoice generator
Fill in your details, your customer’s details and the line items. The invoice preview updates as you type. Press Print or save as PDF and choose "Save as PDF" in the print window to get a file. Your details are saved in this browser for next time.
How the totals are worked out
Line amount = quantity × unit price (rounded to the currency's decimals)
Subtotal = sum of line amounts
Taxable amount = subtotal − discount
Tax = taxable amount × tax rate ÷ 100 (rounded once)
Total = taxable amount + tax
The number of decimals follows the currency code: 2 for AED, USD, EUR and most others, 0 for JPY, and 3 for KWD, BHD and OMR. Amounts are shown with the code (for example "AED 1,679.99") so there is no doubt about the currency.
Worked example
10 hours of design work at AED 150 and one hosting fee of AED 99.99 give a subtotal of AED 1,599.99. VAT at 5% is 1,599.99 × 0.05 = 79.9995, which rounds to AED 80.00, so the total is AED 1,679.99.
With a discount: 3 items at USD 333.333 make USD 1,000.00. Take off a USD 100 discount and 10% tax is charged on USD 900, giving USD 90 tax and a USD 990 total.
Saving and printing
- Your details are saved in this browser's local storage as you type, so they are there next time you open the page on this device. They are never uploaded. "Clear saved details" deletes them.
- When you print, only the invoice is printed; the form and the rest of the page are hidden. To get a PDF, choose "Save as PDF" (or "Microsoft Print to PDF") as the printer.
- Remember to change the invoice number for each new invoice. Many businesses use a simple running sequence such as INV-0001, INV-0002.
Assumptions and limits
- One tax rate for the whole invoice. If lines need different rates, make separate invoices or ask your accountant.
- This tool does not check the legal requirements for invoices in your country. For example, a UAE tax invoice must show certain details set by the Federal Tax Authority, such as the supplier's TRN. Check what your tax authority requires.
- Logos are not supported yet; the invoice is plain text and lines.
FAQ
Is my business information stored on a server?
No. There is no account and no server storage. The invoice exists only in your browser and in any PDF you save.
Can I use any currency?
Yes, any 3-letter ISO currency code your browser knows, such as AED, SAR, USD, EUR, GBP, INR or JPY.
Can I add a discount as a percentage?
Enter the discount as an amount. To take 10% off, work out 10% of the subtotal (the percentage calculator helps) and enter that.
This tool helps you lay out an invoice. It is not tax or legal advice.