Free email template
Invoice email template
A ready-to-use invoice email template with subject lines, amount due, payment button and responsive HTML for SaaS and services. Copy it, swap in your brand and variables, and send.
Last reviewed November 2026
Invoice {{invoice_number}} from Acme · {{amount}} due on {{due_date}}.
invoice.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="x-apple-disable-message-reformatting">
<title>Invoice {{invoice_number}} from Acme</title>
</head>
<body style="margin:0;padding:0;background:#f4f4f5;">
<div style="display:none;max-height:0;overflow:hidden;opacity:0;">{{amount}} due on {{due_date}}.</div>
<table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="background:#f4f4f5;">
<tr><td align="center" style="padding:32px 16px;">
<table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="max-width:560px;background:#ffffff;border-radius:12px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
<tr><td style="padding:32px 32px 0;font-size:18px;font-weight:700;color:#18181b;">Acme</td></tr>
<tr><td style="padding:24px 32px 8px;">
<h1 style="margin:0 0 16px;font-size:22px;line-height:30px;color:#18181b;">Your invoice is ready</h1>
<p style="margin:0 0 16px;font-size:16px;line-height:24px;color:#3f3f46;">Hi {{first_name}}, here's your invoice for {{month}}. The PDF is attached for your records.</p>
<table role="presentation" cellspacing="0" cellpadding="0" border="0" style="margin:8px 0 24px;"><tr><td style="border-radius:8px;background:#18181b;"><a href="https://acme.com/invoices/{{invoice_number}}" style="display:inline-block;padding:12px 24px;font-size:15px;font-weight:600;color:#ffffff;text-decoration:none;border-radius:8px;">Pay invoice</a></td></tr></table><table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin:8px 0 24px;border-top:1px solid #e4e4e7;"><tr><td style="padding:10px 0;border-bottom:1px solid #e4e4e7;font-size:14px;color:#71717a;">Invoice</td><td align="right" style="padding:10px 0;border-bottom:1px solid #e4e4e7;font-size:14px;color:#18181b;">INV-2026-0142</td></tr><tr><td style="padding:10px 0;border-bottom:1px solid #e4e4e7;font-size:14px;color:#71717a;">Due date</td><td align="right" style="padding:10px 0;border-bottom:1px solid #e4e4e7;font-size:14px;color:#18181b;">November 30, 2026</td></tr><tr><td style="padding:10px 0;border-bottom:1px solid #e4e4e7;font-size:14px;color:#71717a;">Amount due</td><td align="right" style="padding:10px 0;border-bottom:1px solid #e4e4e7;font-size:14px;color:#18181b;font-weight:700;">$250.00</td></tr></table>
<p style="margin:0 0 16px;font-size:16px;line-height:24px;color:#3f3f46;">Thanks for your business. Reply to this email with any billing questions.</p>
</td></tr>
<tr><td style="padding:16px 32px 32px;border-top:1px solid #f4f4f5;font-size:13px;line-height:20px;color:#a1a1aa;">Acme Inc. · VAT/Tax ID 12-3456789<br>Acme Inc., 123 Market St, San Francisco, CA</td></tr>
</table>
</td></tr>
</table>
</body>
</html>Subject line ideas
- Invoice {{invoice_number}} from Acme
- Your Acme invoice for {{month}}
- Invoice {{invoice_number}}: {{amount}} due {{due_date}}
Preheader: {{amount}} due on {{due_date}}.
Best practices
- Attach the PDF invoice and link to an online copy.
- Put the amount and due date in the preheader.
- Send from a billing address that accepts replies.
Variables used
{{invoice_number}}, {{amount}}, {{due_date}}, {{month}}
Plain-text version
Always send a text part alongside HTML. It helps deliverability and accessibility.
Your invoice is ready
Hi {{first_name}}, here's your invoice for {{month}}. The PDF is attached for your records.
Pay invoice: https://acme.com/invoices/{{invoice_number}}
Invoice: INV-2026-0142
Due date: November 30, 2026
Amount due: $250.00
Thanks for your business. Reply to this email with any billing questions.
--
Acme Inc. · VAT/Tax ID 12-3456789
Send it with the API
POST /v1/emails
curl -X POST https://stackemails.com/v1/emails -H "Authorization: Bearer $STACKEMAILS_API_KEY" -H "Content-Type: application/json" -d '{
"from": "Acme <hello@mail.acme.com>",
"to": "ada@example.com",
"subject": "Invoice {{invoice_number}} from Acme",
"html": "<!-- the HTML above, with variables filled in -->",
"text": "<!-- the plain-text version -->",
"tags": [{ "name": "template", "value": "invoice" }]
}'