Skip to content

Invoice Receipt Email

Email-safe payment receipt template with amount paid, invoice details, line items, tax and total, and a bulletproof Download PDF invoice button.

Also known as: payment receipt email, billing receipt email, saas invoice email, payment confirmation email

Invoice Receipt Email live demo

Open in new tab

Pure CSS code (HTML, CSS)

An email-safe payment receipt and invoice template for SaaS billing, built with table-based layout and inline styles only. It confirms the amount paid, lists the invoice number, payment method and line items with tax and total, and offers a bulletproof "Download PDF invoice" button plus a billing support line. The layout targets Outlook (Windows desktop), Gmail (web and apps) and Apple Mail.

How it works

The markup starts with a hidden preheader (.ir-preheader) that inbox previews show next to the subject line. Everything else sits inside the full-width .ir-wrap table, which paints the light grey page background, and a centered .ir-container table capped at 600 px with max-width. Outlook ignores max-width, so MSO conditional comments wrap the container in a fixed 600 px table for the Word rendering engine.

Below the "View in browser" link, a dark header band carries the Paperkite brand name and a "Receipt" label. The amount block shows a small check-mark image, the .ir-amount heading and a thank-you line. Three .ir-meta cells hold the invoice number, date paid and payment method. The .ir-items table lists each line item with description, quantity and amount; subtotal, tax and total follow in a right-aligned table. The button is an .ir-btn link styled inline for every client except Outlook, which gets a VML v:roundrect inside <!--[if mso]> instead. A tinted support row with a mailto: link and a footer with the sender address, email preferences and unsubscribe link close the email.

Customization

  • Change #0f172a (header band, headings, table rule) and #10b981 (button, VML fillcolor and strokecolor) to your brand colors; keep the VML values in sync with the .ir-btn inline styles.
  • Edit the line item rows inside .ir-items: copy a <tr> to add a product, and update the subtotal, tax and total rows to match.
  • Replace the href on .ir-btn and in the v:roundrect with the real PDF link from your billing system.
  • The .ir-hide-sm cells hide the Qty column on phones; remove the class to keep it visible.
  • .ir-meta cells stack vertically below 480 px through the media query in style.css; delete that rule to keep three columns.
  • Swap the sample values (PK-20418, "Today, 09:41", Visa ending 4242) for merge tags from your email platform.

Use cases

  • SaaS billing: confirm the amount paid with invoice number, payment method and line items
  • Subscription services: send a receipt with tax, total and a Download PDF invoice button
  • Hosting providers: customers get a clear record of each payment with a billing support line
  • Online services: a receipt that renders reliably in Outlook, Gmail and Apple Mail

Accessibility

All layout tables have role="presentation". The amount is a real h1, the check-mark image has alt="Paid", and every text color reaches at least WCAG AA contrast on its background. Links are underlined and the button text is real HTML text, not an image.

Usage notes

index.html contains body content only. In production, put it inside a full HTML document and paste the rules from style.css into a <style> block in the <head>; they are progressive extras (body reset, button hover, mobile stacking) and the email still works where clients strip them. The check-mark icon is a Twemoji PNG served from jsDelivr (CC-BY 4.0); host your own icon for production sends.

Invoice Receipt Email at a glance

Framework
Pure CSS
Code
HTML, CSS
JavaScript
Not needed, CSS only
Dependencies
None
Layout
Responsive, works on mobile
Category
Email Templates
License
Free for personal and commercial use

Questions about this template

Can I use the Invoice Receipt Email code for free?

Yes. You can copy or download the code and use it in personal and commercial projects, including client work. No sign-up is needed. Reselling it as part of a component library or template collection is not allowed; see the license.

How do I add it to my website?

There is nothing to install. Paste the HTML where the component should appear and add the CSS to your stylesheet. Download HTML gives you a complete page with everything already linked.

Does it need jQuery or a JavaScript framework?

No. It is built with HTML and CSS only, so there is no JavaScript to load.

Does it work on mobile?

Yes. The layout adapts to small screens. Use the Mobile and Tablet buttons above the live demo to check it at phone and tablet width.

Requirements

No dependencies. Pure HTML, CSS and JavaScript.

Invoice Receipt Email – Pure CSS email templates component screenshot
Invoice Receipt Email · Pure CSS Email Templates

More Email Templates

Email Verification Email – Pure CSS email templates preview

Email Verification Email

Dark, email-safe confirm-your-email template with a big bulletproof verify button, a six-digit one-time code, expiry note and footer.

Feedback Survey Request Email – Pure CSS email templates preview

Feedback Survey Request Email

Email-safe feedback request with a one-tap 1 to 5 rating row of links, an open survey button, a thank-you discount note and a compliant footer.

Newsletter Email with Featured Articles – Pure CSS email templates preview

Newsletter Email with Featured Articles

Email-safe editorial newsletter with masthead, featured story, two-column article grid that stacks on mobile, quick links, sponsor slot and footer.

Re-engagement We Miss You Email – Pure CSS email templates preview

Re-engagement We Miss You Email

Email-safe win-back template with a friendly headline, what's new list with thumbnails, comeback offer card, return button and one-click unsubscribe.

Product Launch Announcement Email – Pure CSS email templates preview

Product Launch Announcement Email

Email-safe product launch template with a bold dark hero, product photo, three feature blocks with image icons, pricing note and a bulletproof Try it now button.

Order Confirmation Email – Pure CSS email templates preview

Order Confirmation Email

Email-safe order confirmation template with order number, product rows with photos, totals table, shipping and billing addresses and a track order button.