

# Invoice generator

Canonical interactive tool: https://taskpencil.com/tools/invoice-generator/

Create an invoice with customer details, line items, discount, and tax, then print or download a PDF.

## How it works

Each line total = quantity × unit price, rounded to cents. Subtotal = sum of line totals. Discount is subtracted before tax. Tax = (subtotal − discount) × tax rate, rounded to cents.

## Instructions

1. Enter seller, customer, document dates, currency, and invoice reference.

2. Add item descriptions, quantities, and unit prices, then enter the discount and tax rate.

3. Review line totals and amount due in the preview. Add an optional local logo, then print or download the PDF.

## Worked examples

### Typical task

Two units at 10.00 give a 20.00 subtotal. A 2.00 discount leaves 18.00 taxable; 10% tax is 1.80, so the amount due is 19.80.

### A different case

A quantity of 0.285 at 1.00 rounds to a line total of 0.29. Two such lines total 0.58 before discounts or tax because each line is rounded separately.

## Interpreting your result

Review applicable invoice and tax requirements yourself. This document requests payment; it does not send an invoice or verify payment.

## Limits and assumptions

One currency with two decimal places. All lines share one tax rate; tax is applied after the document-level discount. Check local invoice and tax requirements yourself; no legal compliance check is performed. Up to 100 items. Downloaded PDFs contain rendered images of the entered text; browser Print / Save as PDF is also available. Nothing is sent, saved, or emailed. All processing is local; inputs are not stored or transmitted. Optional logos are processed locally, are not uploaded or saved, and must be at most 5 MB and 20 million pixels. Print the document at normal scale and turn off browser headers and footers.

### When is tax applied?

One document-level tax rate applies after the discount. Separate tax categories are not modeled.

### Can I reopen the invoice later?

The page does not save it. Download or print the finished document before closing; the PDF is not an editable project file.

### Is the downloaded PDF searchable text?

The local PDF export uses rendered images. Browser Print or Save as PDF is an alternative and may behave differently.



## Continue with a related task

- [Guides](https://taskpencil.com/guides/)

- [Margin and markup calculator](https://taskpencil.com/tools/margin-markup-calculator/)

- [Receipt generator](https://taskpencil.com/tools/receipt-generator/)



