Local Invoice Generator
Build an itemized invoice with exact minor-unit totals, discount, tax, currency formatting, an isolated print preview and standalone HTML download.
Enabling local controls…
Nothing is stored or uploaded. The sample is not a jurisdiction-specific tax invoice. Review amounts and legally required fields before issuing.
Invoice preview
Preview: first 32,000 characters. Copy, download and expanded text retain all content. Select complete text if copying fails.
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta http-equiv="Content-Security-Policy" content="default-src 'none'; style-src 'unsafe-inline'; base-uri 'none'; form-action 'none'"><title>Invoice INV-001</title><style>body{font:16px/1.6 system-ui,sans-serif;color:#17241e;background:white;margin:0;padding:2rem}main{max-width:52rem;margin:auto}header{display:flex;justify-content:space-between;gap:2rem;border-bottom:2px solid #355c4a}h1{font-size:2rem;margin:0}address,p{white-space:pre-wrap;font-style:normal}section{display:grid;grid-template-columns:1fr 1fr;gap:2rem}table{width:100%;border-collapse:collapse;margin:2rem 0}th,td{text-align:left;padding:.65rem;border-bottom:1px solid #cad2cc;overflow-wrap:anywhere}th:last-child,td:last-child{text-align:right}.totals{margin-left:auto;width:min(100%,24rem);font-variant-numeric:tabular-nums}.totals p{display:flex;justify-content:space-between;gap:2rem}.total{border-top:2px solid;font-weight:700;font-size:1.3rem}@media(max-width:500px){body{padding:1rem}section{grid-template-columns:1fr}th,td{padding:.35rem}}@media print{body{padding:0}main{max-width:none}tr{break-inside:avoid}}</style></head><body><main><header><h1>Invoice</h1><p>INV-001<br>2026-10-21</p></header><section><div><h2>From</h2><address>Sample Studio
Taipei, Taiwan</address></div><div><h2>Bill to</h2><address>Sample Client</address></div></section><table><thead><tr><th scope="col">Description</th><th scope="col">Qty</th><th scope="col">Unit price</th><th scope="col">Amount</th></tr></thead><tbody><tr><td>Design service — sample</td><td>8</td><td>1200 TWD</td><td>NT$9,600.00</td></tr></tbody></table><div class="totals"><p>Subtotal <span>NT$9,600.00</span></p><p>Discount (0%) <span>−NT$0.00</span></p><p>Tax (5%) <span>NT$480.00</span></p><p class="total">Total <span>NT$10,080.00</span></p></div><p>Sample only. Replace all details before issuing.</p></main></body></html>Expand complete selectable text
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta http-equiv="Content-Security-Policy" content="default-src 'none'; style-src 'unsafe-inline'; base-uri 'none'; form-action 'none'"><title>Invoice INV-001</title><style>body{font:16px/1.6 system-ui,sans-serif;color:#17241e;background:white;margin:0;padding:2rem}main{max-width:52rem;margin:auto}header{display:flex;justify-content:space-between;gap:2rem;border-bottom:2px solid #355c4a}h1{font-size:2rem;margin:0}address,p{white-space:pre-wrap;font-style:normal}section{display:grid;grid-template-columns:1fr 1fr;gap:2rem}table{width:100%;border-collapse:collapse;margin:2rem 0}th,td{text-align:left;padding:.65rem;border-bottom:1px solid #cad2cc;overflow-wrap:anywhere}th:last-child,td:last-child{text-align:right}.totals{margin-left:auto;width:min(100%,24rem);font-variant-numeric:tabular-nums}.totals p{display:flex;justify-content:space-between;gap:2rem}.total{border-top:2px solid;font-weight:700;font-size:1.3rem}@media(max-width:500px){body{padding:1rem}section{grid-template-columns:1fr}th,td{padding:.35rem}}@media print{body{padding:0}main{max-width:none}tr{break-inside:avoid}}</style></head><body><main><header><h1>Invoice</h1><p>INV-001<br>2026-10-21</p></header><section><div><h2>From</h2><address>Sample Studio
Taipei, Taiwan</address></div><div><h2>Bill to</h2><address>Sample Client</address></div></section><table><thead><tr><th scope="col">Description</th><th scope="col">Qty</th><th scope="col">Unit price</th><th scope="col">Amount</th></tr></thead><tbody><tr><td>Design service — sample</td><td>8</td><td>1200 TWD</td><td>NT$9,600.00</td></tr></tbody></table><div class="totals"><p>Subtotal <span>NT$9,600.00</span></p><p>Discount (0%) <span>−NT$0.00</span></p><p>Tax (5%) <span>NT$480.00</span></p><p class="total">Total <span>NT$10,080.00</span></p></div><p>Sample only. Replace all details before issuing.</p></main></body></html>How to use this tool
Review the labeled controls, use the example, inspect the preview and explicitly copy, download or print the result. Input remains in this tab.
When not to use it
A generic invoice draft, not a jurisdiction-specific tax invoice or compliance check. No data is stored. Totals round each line, then discount, then tax half-up in currency minor units; review before issuing.