Back to templates
Printable HTML invoice
A clean itemized invoice layout with subtotal, tax calculation, and print-ready styles.
Source code
1 lines · 1.3 KB<style>*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,sans-serif;background:#f6f7fb;color:#172033}button,a{font:inherit}.wrap{width:min(960px,calc(100% - 32px));margin:auto}</style><style>body{background:#f1f5f9;padding:28px 16px}.sheet{max-width:720px;margin:auto;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:36px}.row{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}table{width:100%;border-collapse:collapse;margin:28px 0}th,td{padding:11px 8px;border-bottom:1px solid #e2e8f0;text-align:left}th:last-child,td:last-child{text-align:right}.total{font-size:20px;font-weight:800}@media print{body{background:#fff;padding:0}.sheet{border:0;padding:0}}</style><main class="sheet"><div class="row"><div><h1 style="margin:0">Invoice #INV-2026-041</h1><p style="color:#64748b;margin:4px 0">Issued Nov 26, 2026 · Due Dec 10, 2026</p></div><div style="text-align:right"><strong>Studio North LLC</strong><br>billing@studionorth.test</div></div><table><thead><tr><th>Description</th><th>Qty</th><th>Amount</th></tr></thead><tbody><tr><td>Design system audit</td><td>1</td><td>$1,200.00</td></tr><tr><td>Interactive prototype pack</td><td>2</td><td>$800.00</td></tr></tbody></table><div class="row"><span>Thank you for your business.</span><span class="total">Total: $2,000.00</span></div></main>When this template fits
A clean single-page invoice for freelancers, consultants, and small studios who want an HTML invoice they can save as PDF or share directly.
How the layout works
Header metadata, itemized table, and total summary align cleanly on screen and strip card shadows and grey backgrounds inside @media print.
What to customize
Update invoice number, currency, tax rate, payment terms, and legal entity details before issuing.
Review before publishing
Open browser Print Preview to confirm clean A4/Letter margins, verify line-item math, and double-check recipient details.
Keep building with context
Compare a related pattern or read a practical guide before adapting this example in the Playground.