Invoice Generator

Fill seller, client, and line items, then download an invoice PDF. You enter the amounts. This page does not submit the invoice to a tax office.

Tested on

empty form became 595 by 842 points, 577 bytes. Created one page with addPage([595, 842]), the size InvoiceGenerator passes to pdf-lib, then read the page back. Last tested 28 November 2026.

How to use this tool

  1. Pick a design. The four designs are Clean, Office, Studio, and Slim.
  2. Fill From, Bill to, the date, the due date, and the line items. The preview is labeled Live preview · A4 · updates as you type.
  3. Add a logo only if it is a PNG or JPG under 2 MB. WebP is rejected.
  4. Put a payment URL in only if you want a QR on the last page. The QR is generated from that URL.
  5. Download. The file name is invoice- plus the number you entered, then .pdf.
  6. If the build fails, the danger toast says Couldn't build the PDF. Check the logo is a PNG or JPG under 2 MB, then try again.

You type the amounts

The generator adds the line items you enter and applies the tax percent from the theme. It does not look up a tax rate for your country. If the tax is wrong, the percent field is wrong. Change it before you download.

The designs change the drawing, not the arithmetic. Clean, Office, Studio, and Slim are the four template names. Slim is the dense list. Office uses a header band. The preview updates as you type, so a wrong total is visible before the download.

A payment URL is optional. When it is present, the page builds a QR from that URL and draws it on the last page. An empty URL means no QR. The tool does not send the invoice to the address in the URL.

When a logo is refused

The size is checked before the PDF is built. A file over 2 MB is refused, and the same limit is printed beside the control. Shrink the mark and add it again.

A WebP mark fails when the PDF is drawn. Export a PNG if the mark needs a clear edge, or a JPEG if it does not.

If the PDF still will not build, remove the logo and download once. A success without the logo means the mark was the problem. If it still fails, look for an empty required line you can already see in the preview.

What this PDF is not

Nothing is filed with a tax office. The download is a PDF you save. Sending it to a customer is your mail client, not this page. The success toast says Invoice PDF ready - saved on this device.

The design choice can be stored in this browser so the next invoice opens on the same template. That storage is the theme, not the client’s address book. Clearing site data drops the saved theme.

Long item lists are split across pages. Totals are drawn on the last page. Read the last page of the download, not only the preview’s first screen, when you have more rows than fit on one A4 page.

Common questions

Does this file my tax return?
No. You get a PDF. You type the tax percent. No tax authority receives the form from this page.
Which page size is the invoice?
A4, 595 by 842 points. The preview says A4. There is no Letter switch on the invoice.
Why was my logo refused?
The mark was over 2 MB, or it was a WebP. This form draws a PNG or a JPEG at or under that size, and it will not embed a WebP.
When does the QR appear?
Only if you enter a payment URL. It is drawn on the last page. An empty URL skips the QR.
Are Clean, Office, Studio, and Slim different calculators?
No. They are drawing styles. The line items and the tax percent are yours in every design.