Invoice generator overview

Use the MerchandAise invoice generator to create a print-ready invoice with company and client details, invoice dates, itemized line items, automatic VAT calculation, local draft recovery, and browser-based PDF export.

Invoice workflow

  • Add company and client details before printing so the invoice has complete sender and recipient information.
  • Enter invoice identifiers such as invoice number, invoice date, due date, contact person, and order number.
  • Add, duplicate, or remove line items while subtotal, VAT, and total update automatically.
  • Upload a company logo when you need a branded invoice preview before printing or saving as PDF.
  • Use the primary print action to open the browser print dialog or capture the print event in QA harness mode.

Visible page sections

  • Hero: names the route as an invoice generator and explains the print-ready purpose.
  • Company information section: collects sender name and address details.
  • Client information section: collects recipient name and address details.
  • Invoice details section: collects invoice identifiers and dates.
  • Items section: manages description, quantity, unit price, duplication, removal, and add-item actions.
  • Totals card: shows subtotal, VAT at 19%, and the final total.

Calculations and validation

  • Subtotal equals the sum of quantity multiplied by unit price for all line items.
  • VAT equals subtotal multiplied by 0.19.
  • Total equals subtotal plus VAT.
  • Quantity must be a whole number greater than or equal to 0.
  • Unit price must be a number greater than or equal to 0.
  • At least one line item must remain in the invoice.

Draft storage and privacy

Invoice drafts on this route are stored only in the current browser on the current device. Clearing the draft removes the saved local copy for this browser session history.

Machine-readable route inputs

invoiceData

Optional JSON query parameter that prefills invoice fields. Invalid JSON safely falls back to a blank invoice draft.

qaPrintHarness

Optional flag that captures print actions without opening the browser print dialog.

Invoice generator FAQ

Can I save the invoice as a PDF?

Yes. Use the primary print action to open the browser print dialog, then choose the Save as PDF option available in your browser.

Where is my invoice draft stored?

Drafts are stored in local browser storage on the current device and browser. They are not automatically shared across devices.

How are invoice totals calculated?

Each line item multiplies quantity by unit price. The page sums those values into the subtotal, applies 19% VAT, and then shows the final total.

Invoice Generator

Create, review, and print a client-ready invoice template with itemized totals, VAT calculation, and optional company branding.

Company Information

Client Information

Invoice Details

Items

Subtotal:$0.00
VAT (19%):$0.00
Total:$0.00
Subtotal 0.00, VAT 0.00, Total 0.00