Skip to content

SaaS Subscription Invoice

SaaS subscription invoice page with plan, billing period, seats, add-ons, prorated credit, tax, a paid stamp, card details and manage billing links, ready to print.

Also known as: saas invoice template, subscription receipt page, billing invoice page, paid invoice example, recurring billing invoice

SaaS Subscription Invoice live demo

Open in new tab

Bootstrap 6 code (HTML, CSS, JS)

This Bootstrap 6 subscription invoice template is a SaaS billing page that shows a paid invoice for one billing period: plan, seats, add-ons, a prorated credit, sales tax, the total paid and the card it was charged to. Use it as a subscription receipt or billing history detail page for software with monthly plans.

How it works

The page sits inside .sbi-page: a navbar with a Drawer menu on small screens, a header with Email receipt and Print buttons, and the .sbi-layout grid. On the left, the .sbi-invoice card holds the issuer, a .sbi-stamp paid stamp, the .sbi-facts list (invoice number, issue date, billing period, billed to), a .sbi-plan summary, the charges table and .sbi-totals. On the right, the .sbi-side column shows the next invoice estimate with period progress, Manage billing links and recent invoices.

script.js formats every data-sbi-money value with Intl.NumberFormat (negative credits get a real minus sign) and turns each data-sbi-date day offset into a date without a year, so the billing period never goes stale. The BILLING object at the top sets the currency, locale and period length and drives the progress bar. Email receipt opens a Bootstrap 6 Dialog with an email field; the form checks the address, shows .is-invalid feedback, then simulates sending, which is where you add fetch().

Customization

  • --sbi-teal, --sbi-teal-deep and --sbi-teal-soft on body in style.css: change the accent of the stamp, plan box, links and balance row.
  • --sbi-radius on body: makes the cards rounder or squarer.
  • BILLING.currency and BILLING.locale in script.js: show amounts in EUR, GBP or another currency.
  • BILLING.periodStartOffset and BILLING.periodDays: move the period and update the progress bar.
  • data-sbi-money on any cell: the number that is formatted there.
  • Remove .sbi-stamp and change .sbi-balance for an unpaid invoice.
  • The footer credit links to WebDevSnippets and can be kept or removed.

Use cases

  • SaaS products: invoice detail page in the customer billing area
  • Membership and subscription sites: monthly receipt with seats and add-ons
  • Billing dashboards: show prorated credits after a plan change

Accessibility

The charges table has row headers and a hidden caption, the paid stamp is role="img" with a label, and the progress bar has aria-valuenow and aria-valuetext. The dialog has a labelled title, focuses the email field when shown, and the send result is announced through a polite status region. Below 576 px each charge becomes a labelled block, so the page never scrolls sideways.

Usage notes

The print styles set an A4 @page and print only the invoice card: navbar, sidebar, buttons, dialog and the footer credit are hidden. Sandboxed previews may block window.print().

Bootstrap 6 notes

The receipt form uses a native <dialog class="dialog"> opened with data-bs-toggle="dialog" instead of a BS5 modal, the mobile menu is a <dialog class="drawer">, buttons use btn-solid theme-primary and btn-outline theme-secondary, and badges use badge-subtle. Fields sit in form-field. Built on 6.0.0-alpha.1; alpha APIs can still change.

SaaS Subscription Invoice at a glance

Framework
Bootstrap 6
Code
HTML, CSS, JavaScript
JavaScript
Vanilla JavaScript, no jQuery
Dependencies
Bootstrap 6, Bootstrap Icons, fonts.googleapis.com
Layout
Responsive, works on mobile
Category
Invoices
License
Free for personal and commercial use

Questions about this template

Can I use the SaaS Subscription Invoice 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?

Load Bootstrap 6 and Bootstrap Icons and fonts.googleapis.com from a CDN (the links are under Requirements). Paste the HTML where the component should appear, add the CSS to your stylesheet and load the JavaScript before the closing </body> tag. Download HTML gives you a complete page with everything already linked.

Does it need jQuery or a JavaScript framework?

No. The script is plain vanilla JavaScript, so it works without jQuery, React or Vue. You can still use the markup inside those frameworks.

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

Add these to your page (already included in the download):

  • <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@6.0.0-alpha.1/dist/css/bootstrap.min.css">
  • <script type="module" src="https://cdn.jsdelivr.net/npm/bootstrap@6.0.0-alpha.1/dist/js/bootstrap.bundle.min.js"></script>
  • <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
  • <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap">

Built for Bootstrap 6.0.0-alpha.1. Bootstrap 6 ships as an ES module, so its script and this component's JavaScript load with type="module". Alpha releases can still change before the stable version.

SaaS Subscription Invoice – free Bootstrap 6 invoice template
SaaS Subscription Invoice · free Bootstrap 6 invoice template

More Invoices

Business Invoice with Tax Breakdown – free Bootstrap 6 invoice template

Business Invoice with Tax Breakdown

Business invoice page with per-line tax rates, a tax summary table by rate, discount, shipping and total, plus a currency switch and print styles for a clean VAT invoice.