Skip to content
HTML Templates For Developers

Documentation

Billto — HTML Invoice Template

Version 1.0.0 · Vanilla HTML · 14 files · 124 KB

Back to the template

Getting started

  1. Unzip the download and open index.html in a browser. No server, installation or build step is needed.
  2. Edit the text directly in the HTML files.
  3. Change colours, fonts and spacing through the CSS custom properties at the top of assets/css/style.css.
  4. Replace the artwork in assets/images/ with your own images.
  5. Upload the whole folder to any static host.

File structure

The download contains these 14 files:

  • LICENSE.txt1.4 KB
  • README.md2.5 KB
  • assets/css/style.css9.5 KB
  • assets/fonts/dm-mono-LICENSE.txt4.8 KB
  • assets/fonts/dm-mono-latin-400-normal.woff214 KB
  • assets/fonts/dm-mono-latin-500-normal.woff215 KB
  • assets/fonts/dm-sans-LICENSE.txt4.4 KB
  • assets/fonts/dm-sans-latin-wght-italic.woff239 KB
  • assets/fonts/dm-sans-latin-wght-normal.woff236 KB
  • assets/images/favicon.svg299 B
  • assets/js/main.js2.1 KB
  • documentation/index.html11 KB
  • documentation/licenses/lucide-LICENSE.txt3.1 KB
  • index.html7.6 KB

Colours

These custom properties are defined at the top of the stylesheet. Change a value once and it updates everywhere it is used.

  • --color-ink#0f1217
  • --color-ink-soft#4a5260
  • --color-line#e3e6eb
  • --color-wash#f5f7fa
  • --color-blue#2563eb
  • --color-blue-deep#1d4ed8
  • --color-desk#eceef2
  • --color-paper#ffffff

Interactive features

Paper size

The A4 / Letter buttons set data-paper on the invoice sheet and write the @page rule from assets/js/main.js. Add sizes to the PAGE_SIZES object.

Print / Save as PDF

The button calls window.print(). Choose Save as PDF as the destination; set margins to Default and turn off headers and footers.

Fit to screen

On narrow viewports main.js scales the sheet through the --fit custom property so the entire page is visible. It is reset before printing.

Customisation notes

Add or remove line items

Each item is one tr in the tbody of the table in index.html. Copy a row to add an item and update the subtotal, tax, total and balance in the .totals block by hand.

Change currency or tax label

Amounts are plain text. Replace the $ signs and the Sales tax (10%) label to suit your region, for example VAT 20% with a pound sign.

Fitting more rows on a page

The print block at the end of style.css scales the sheet with zoom (0.82 for A4, 0.76 for Letter). If you add many rows the table flows to a second page with the header repeated; raise or lower the zoom values as needed.

What is front-end only

This is a front-end template. The behaviours below are demonstrations that run in the browser; connect them to your own server or service before relying on them.

  • The invoice contains sample data for an invented studio and client. Nothing is saved or sent; totals are static text that you edit in the HTML.

Bundled components and licences

Everything the template needs is inside the download; nothing is loaded from the network.

  • DM Mono typeface — OFL-1.1 (assets/fonts/dm-mono-LICENSE.txt)
  • DM Sans typeface — OFL-1.1 (assets/fonts/dm-sans-LICENSE.txt)
  • Lucide icons (inlined SVG) — ISC (documentation/licenses/lucide-LICENSE.txt)

Changelog

Version 1.0.0 · Nov 23, 2026

  • Initial release.