# Receipt HTML template (80 mm thermal) An 80 mm thermal-printer style receipt in HTML and CSS. Convert it to a narrow PDF for email receipts or point-of-sale printing. Paper: 80 × 200 mm Render it: ```bash curl https://html-pdf.com/v1/pdf -H "Authorization: Bearer $HTML_PDF_KEY" -F "index.html=@receipt.html" -F 'options={"prefer_css_page_size":true}' -o receipt.pdf ``` ```html Receipt #1042

CAFÉ EXAMPLE

Carrer de Example 1, Barcelona
NIF B12345678

Receipt #1042
10/10/2026 · 09:41

2 × Flat white7.00
1 × Croissant2.50
1 × Orange juice3.80

Subtotal12.09
VAT 10%1.21
TOTAL €13.30
Card •••• 424213.30

Thank you!
example.com
```