Invoice & Quotation Generator
Make an invoice or a quotation, then print it or save it as a PDF. Add your customer, any number of line items priced by quantity or by working hours, each with its own formatted description, then a discount, extra charges, one or more taxes, comments, payment details and your terms and conditions. The amounts are added up exactly. Your documents, customers and items are saved in a small SQLite database inside your own browser, not on our servers.
Results are for general information only. See our Disclaimer.
How to use it
- Choose the type: Invoice or Quotation. The number is suggested for you (for example INV-0001) and the due date is filled from your settings; a quotation has a “valid until” date instead.
- Add the customer: pick a saved customer or type the name, company, address, phone, email and tax number. Leave “Save or update this customer” ticked to reuse them next time.
- Add line items: for each line choose Quantity (quantity × unit price) or Working hours (hours × hourly rate; type
1.5or1:30). Write the description in the editor (bold, italic, underline, lists, links), add an optional percentage discount and tick whether the line is taxable. You can move, copy and remove lines, or insert one from your saved items. - Discount, charges and tax: add a discount on the whole document (percentage or fixed), extra charges such as shipping (fixed or percentage, taxable or not) and one or more taxes. For an invoice you can also enter an amount already paid, and the balance due is shown.
- Comments, payment details and terms: write them in the editors. Press Save these as my default terms to use them on every new invoice (or quotation).
- Check the preview and press Save to store the document, Print to print it, or Download PDF. A saved quotation can be turned into an invoice with one press.
- Settings & backup: set up your company details and logo, currency, number format, numbering and default texts once. Download a backup file from time to time.
How it works
The tool is a small web app that runs entirely in your browser. Nothing you type is sent to X2X Converter.
- Exact amounts: every amount is calculated with exact fractions, not floating-point numbers, and each amount that is shown (a line, the discount, each charge, each tax) is rounded half-up to the currency’s number of decimals. The total is the sum of the amounts shown on the document, so the printed figures always add up. Hours entered as
H:MMare used as exact fractions of an hour (1:20 is one third of an hour). - Order of calculation: line amount = quantity or hours × price, less the line discount. Subtotal = sum of line amounts. Then the document discount is taken off the subtotal, charges are added, and each tax is calculated on the taxable part (taxable lines and taxable charges, reduced in proportion by the document discount). A paid amount is subtracted from the total to give the balance due.
- Saved in your browser: documents, customers, items and settings are stored in a SQLite database (SQLite compiled to WebAssembly) kept in your browser’s own storage for this site. The last 10 documents are kept; saving an eleventh removes the oldest. Items you use on saved documents are remembered without any limit. Clearing the site’s data in your browser, using another browser or device, or private/incognito windows will not have your data, so use Download backup.
- Descriptions: formatted text is cleaned before it is saved and each time it is shown, so only simple formatting (bold, italic, underline, lists, links and line breaks) is kept and nothing from a pasted web page can run.
- Print and PDF: printing uses your browser’s print dialog, so the printed page is real text. Download PDF draws the document as an image onto A4 or Letter pages, cutting between rows so a line is not split, and numbers the pages. The PDF looks exactly like the preview, but its text cannot be selected or searched.
Worked example
1. A quantity line. 3 pieces at 19.99 with 10% line discount: 3 × 19.99 = 59.97, discount 5.997 → the line is 53.97 (53.973 rounded).
2. An hours line. 1:30 hours at 40.00 per hour = 60.00. 1:20 hours at 40.00 = 53.33 (53.3333… rounded).
3. A whole invoice. Lines 53.97 and 60.00 give a subtotal of 113.97. A 5% document discount is 5.70 (5.6985 rounded), a 15.00 shipping charge is added, and 10% tax is calculated on the 108.27 left after the discount (the shipping is not ticked as taxable), which is 10.83. The total is 113.97 − 5.70 + 15.00 + 10.83 = 134.10. Because the total is the sum of the amounts shown, the figures on paper always add up.
4. A quotation to an invoice. Save the quotation (QUO-0001), press Make an invoice from this quotation: a new invoice (INV-0001) opens with the same customer, lines, charges, taxes and notes, today’s date and the invoice terms, ready to check and save. The quotation stays in your history.
Quick reference
| Part | What you can enter |
|---|---|
| Line priced by quantity | Quantity, unit label (pcs, kg, days…), unit price, line discount %, taxable or not |
| Line priced by hours | Hours as 1.5 or 1:30, hourly rate, line discount %, taxable or not |
| Document discount | A percentage or a fixed amount |
| Extra charges | Any number: fixed or percentage of the subtotal after discount, taxable or not |
| Taxes | Any number, each with a name and a percentage |
| Text areas | Line descriptions, comments, payment details and terms & conditions: bold, italic, underline, lists, links |
| Stored in your browser | How long |
|---|---|
| Documents (invoices and quotations) | The 10 most recently saved; the oldest is removed when an eleventh is saved |
| Items | No limit; added automatically when you save a document, and editable in the Items tab |
| Customers | No limit, until you delete them |
| Settings (company, logo, numbering, default terms) | Until you change or erase them |
When you need this
- Freelancers and consultants billing by the hour, with a clear description of the work on each line.
- Small shops and traders billing by quantity with a unit price, discount and sales tax.
- Contractors sending a quotation first, and turning it into an invoice once it is accepted.
- Anyone who needs a quick PDF without opening an account or sending customer details to a website.