Skip to content

Free tool

Free invoice generator

Enter your business and client details, line items, any discount and a tax rate, and this page builds an invoice you can print, save as a PDF or copy as text. Totals are worked out in exact decimals and rounded to the currency's smallest unit, so the line amounts, subtotal, discount, tax and total add up.

The example details are made up. The page does arithmetic on the figures you enter; it does not decide whether tax applies or check the invoice against any country's rules.

The form starts with an example invoice. The business, client and amounts are made up, so replace them with your own or clear the form to start blank.

Keeps what you type in this browser's storage on this device so it is here next time. It is not sent to Hanko. Untick this or clear the form to delete it.

Go to the invoice preview
Your business

Client

Invoice number, dates and currency

Use your own sequence. This page does not track or reserve numbers.

Amounts are rounded to this currency's smallest unit.

Due 9 December 2026. 0 means due on receipt.

Line items

Each line amount is the quantity times the unit price, rounded to the currency's smallest unit.

  1. Line 1

    Line amount: USD 2,400.00

  2. Line 2

    Line amount: USD 1,062.50

  3. Line 3

    Line amount: USD 44.97

3 of 100 line items.

Discount and tax

The tax rate starts at 0% and stays there until you enter one. This page does not know which tax applies to you or at what rate.

Printed on the tax line, for example VAT, GST or Sales tax.

Leave at 0 if no tax applies to this invoice.

This only changes the result when there is both a discount and a tax rate.

Payment instructions and notes

How the client should pay and what reference to quote. Check account details before you send the invoice.

Invoice totals

Total due USD 3,507.47 for 3 line items, due 9 December 2026.

Subtotal
USD 3,507.47
Tax (0%)The tax rate is 0%. Enter a rate only if tax applies.
Not added
Total due
USD 3,507.47

To save a PDF, choose Save as PDF as the destination in the print dialog.

Each line, the discount and the tax are rounded to 2 decimal places for USD, and the total is the sum of those rounded figures.

Example Studio Ltd

Unit 4, 18 Sample Road Example City EX1 2AB

billing@example.com

Invoice

Invoice number
INV-0001
Issue date
9 November 2026
Due date
9 December 2026
Terms
Net 30

Bill to

Société Exemple SARL

Attn: Accounts payable 12 Rue de l'Exemple, Bâtiment B 00000 Ville-Exemple

accounts@example.org

Line items, amounts in USD
DescriptionQtyUnit priceAmount
Website design, fixed fee12,400.002,400.00
Content editing (hours)12.585.001,062.50
Stock photo licences314.9944.97
Subtotal
USD 3,507.47
Total due
USD 3,507.47

Payment instructions

Pay by bank transfer and quote the invoice number as the payment reference. Account details: add your own here.

Notes

Example invoice. Replace every detail with your own before sending.

Create the invoice in Hanko

In Hanko an invoice is sent as a link to a hosted page where your client can pay with the payment options you have set up. What you entered here is not transferred: Hanko opens a new invoice from its Agency Invoice template and you add your client and line items there.

How the invoice totals are calculated

The generator works out each figure printed on the invoice in this order:

  1. Line amount = quantity × unit price, rounded
  2. Subtotal (S) = the sum of the line amounts
  3. Discount (D) = S × discount % ÷ 100, rounded, or the fixed amount you enter, which cannot be more than S
  4. Tax (T) = (S − D) × tax rate ÷ 100, rounded. If you choose to charge tax on the subtotal before the discount, T = S × tax rate ÷ 100, rounded.
  5. Total due = S − D + T

Rounded means rounded half away from zero to the currency's minor unit: 2 decimal places for USD and EUR, 0 for JPY and KRW, and 3 for KWD and BHD. Quantities and unit prices can have up to 6 decimal places (a per-word rate of 0.085, for example) and are multiplied before anything is rounded. The arithmetic uses exact decimals rather than floating-point numbers, so 0.1 + 0.2 comes out as 0.30.

Each printed figure is rounded once, and the subtotal and total are built from the rounded figures rather than from unrounded values. Someone who adds up the line amounts, or subtracts the discount and adds the tax by hand, gets exactly the subtotal and total shown.

Worked example: three line items billed in US dollars

Example only. The form opens with this invoice from a made-up design studio to a made-up client, billed in US dollars with no discount and a tax rate of 0%.

Example invoice line items
Line itemQuantity × unit priceAmount (USD)
Website design, fixed fee1 × 2,400.002,400.00
Content editing (hours)12.5 × 85.001,062.50
Stock photo licences3 × 14.9944.97
Subtotal and total dueUSD 3,507.47

12.5 hours at 85.00 is exactly 1,062.50 and 3 licences at 14.99 is 44.97, so no rounding is needed on these lines. With no discount and no tax the total due equals the subtotal, USD 3,507.47. With an issue date of 9 November 2026 and Net 30 terms the due date is 9 December 2026. In the tool the issue date starts as today's date on your device.

The same invoice with a 10% discount and 5% tax

  1. Subtotal: 2,400.00 + 1,062.50 + 44.97 = USD 3,507.47
  2. Discount: 3,507.47 × 10% = 350.747, rounded to USD 350.75
  3. Amount after the discount: 3,507.47 − 350.75 = USD 3,156.72
  4. Tax: 3,156.72 × 5% = 157.836, rounded to USD 157.84
  5. Total due: 3,156.72 + 157.84 = USD 3,314.56

If the 5% is charged on the subtotal before the discount instead, the tax is 3,507.47 × 5% = 175.3735, rounded to USD 175.37, and the total due is USD 3,332.09. The 10% and 5% are illustrations, not rates that apply to any particular business. To check these figures in the form, choose a percentage discount of 10 and a tax rate of 5, then switch “Tax is charged on” for the last one.

Choices to make before you send the invoice

  • Invoice number. Use a sequence you control, such as INV-0001, INV-0002 and so on. This page does not record the numbers you use or check whether one has been used before, so keeping them unique is up to you.
  • Payment terms. Net terms count calendar days from the issue date, and 0 days prints “Due on receipt”. Use the terms you agreed with the client. The page does not add late fees or interest.
  • Tax. The rate starts at 0% and the tax line stays off the invoice until you enter a rate. Whether you should charge tax, at what rate, and what a tax invoice has to show depend on where you and your client are based and registered and on what you sell, so check with the tax authority or an adviser. Renaming the tax line to VAT or GST does not make the document a valid tax invoice in any country.
  • Tax before or after the discount. By default tax is charged on the amount after the discount. If your arrangement charges it on the full subtotal, change “Tax is charged on”.
  • Currency. Bill in the currency you agreed with the client. The list covers circulating ISO 4217 currencies; a currency being listed says nothing about whether a bank, a payment provider or Hanko accepts payments in it.
  • Payment instructions. Say how the client should pay and which reference to quote, and check account numbers before you send the invoice.

Saving the invoice as a PDF or as text

Print or save as PDF opens your browser's print dialog with only the invoice on the page. The site navigation, the form and the buttons are left out, and the invoice prints as dark text on white even when your screen is in dark mode. To keep a file, choose Save as PDF (Microsoft Print to PDF on Windows) as the destination. The browser lays the invoice out as text rather than as an image, so the text in the PDF can be selected and searched.

A long invoice continues onto further pages. The print styles ask the browser to repeat the column headings and to avoid splitting a line item, the totals or the address blocks across a page break, which current browsers generally follow. Most browsers also add the page title, address and date in the margins unless you turn off headers and footers in the print settings.

Copy as text puts a plain-text version on your clipboard, with each line item on its own line and the totals underneath, for pasting into an email or a message.

What happens to the details you enter

Everything you type stays in this browser tab. It is not sent to Hanko, added to the page address or included in analytics: the tool's analytics events record only that it was used (for example, that an invoice was printed) and the currency code. If you tick “Save entries in this browser”, your entries are kept in this browser's local storage on this device until you untick the box or clear the form. Anyone using the same browser profile can see them, so leave the box unticked on a shared computer.

Assumptions and limits of this generator

  • One tax rate applies to the whole invoice. Different rates on different lines, exempt lines or more than one tax (a federal and a provincial tax, for example) are not handled.
  • The discount applies to the whole invoice, not to individual lines.
  • The layout carries common invoice fields, but it has not been checked against any country's invoicing or e-invoicing requirements, such as mandatory wording, registration numbers, numbering rules or the currency tax must be stated in.
  • There is no currency conversion. Every amount is in the currency you choose. For a dated reference conversion, use the currency converter.
  • Nothing on this page takes a payment. The invoice is a document; it does not charge your client, create a payment link or record that you have been paid.
  • Limits: up to 100 line items, quantities up to 1,000,000,000, amounts below 1,000,000,000,000,000, 6 decimal places for quantities and unit prices, 4 for percentages and payment terms of up to 365 days.

Sending invoices from Hanko

Sign up or sign in and Hanko opens a new invoice in its editor, started from the Agency Invoice template (a new account sets up its workspace first). Nothing you entered on this page is carried over, so add your client, line items and any tax there. In Hanko the invoice is sent as a link to a hosted page where your client can pay with the payment options you have set up. Hanko invoices can be issued in USD, EUR, GBP, CAD, AUD, AED, SGD or INR.