my-appengineer Courses

Billing, invoices and VAT on subscriptions

Pricing tiers and trial modelsLesson20 min3 / 22

A subscription is not one payment; it is a promise to charge the right amount, at the right time, with the right invoice, every month or year, for as long as the customer stays. When billing breaks, customers notice before you do. This lesson covers the billing mechanics you need beyond a working checkout: proration, invoices, VAT and the customer portal.

The technical setup of Stripe Checkout, prices and webhooks is covered in Building your SaaS on my-app.engineer. Here we focus on running billing once customers are paying.

Watch out

This lesson explains principles, not tax or legal advice. VAT and invoicing rules change and differ per country. Check every rule with your tax authority and discuss your setup with an accountant before you rely on it.

The billing objects you work with

Whatever payment provider you use, the same building blocks come back. In Stripe Billing they are called:

  • Product: what you sell ("Bookwise Salon").
  • Price: an amount and interval for that product (€39 monthly, €390 yearly). Prices are never edited; you create a new price and move customers to it.
  • Customer: the salon, with billing email, address and, for businesses, a VAT number.
  • Subscription: links a customer to one or more prices and creates an invoice every period.
  • Invoice: the document and the payment attempt for one period.
Stripe Billing product page showing subscription billing features
Stripe Billing: subscriptions, invoices and revenue recovery in one product

On my-app.engineer you choose Stripe or Mollie as payment option in the builder's blueprint, and Till handles Stripe accounts, payments, payment links and bookkeeping over an API your agent can use. Till can create recurring prices (monthly or yearly) and payment links on them, and its webhook books checkout and invoice payments, but it has no "create subscription" operation: the subscription logic (access, upgrades, cancellations) lives in your app and Stripe. You connect an app to Till under Apps → App hub → the app's card → Integrations. Open Till

Upgrades, downgrades and proration

When a salon moves from Salon (€39) to Pro (€79) in the middle of the month, what should it pay? Proration charges the difference for the remaining days.

Worked example. A 30-day billing period, the salon upgrades on day 12, so 18 days remain:

  • Unused part of Salon: €39 × 18 ÷ 30 = €23.40 credit.
  • Remaining part of Pro: €79 × 18 ÷ 30 = €47.40 charge.
  • Proration: €47.40 − €23.40 = €24.00 extra, charged now or on the next invoice.

For downgrades, many SaaS products apply the change at the end of the current period instead. That is simpler to explain ("you keep Pro until 30 November") and avoids small credits. Bookwise uses: upgrades immediately with proration, downgrades at period end.

Tip

Write your upgrade, downgrade and cancellation rules in plain words on your pricing page or in your help centre before the first customer asks. Then build exactly that. A rule you cannot explain in one sentence is a rule that will create support tickets.

Invoices: what a subscription invoice must contain

In the EU, a VAT invoice to a business generally needs at least: a unique sequential number, invoice date, your name, address and VAT number, the customer's name and address (and VAT number for reverse charge), a description of the service and period, the amount excluding VAT, the VAT rate and amount (or the reverse-charge note) and the total. Your country may add requirements.

Payment providers such as Stripe can generate invoices automatically for every subscription period. Check that the invoice template contains everything your country requires, that numbering is sequential without gaps, and that you can export invoices for your bookkeeping.

VAT on a SaaS subscription

Software delivered online is, for VAT purposes in the EU, usually an electronically supplied service. Who you sell to and where they are decides the treatment:

CustomerWhereUsual treatment (check!)
Business with a valid VAT numberYour own countryCharge your local VAT
Business with a valid VAT numberOther EU countryReverse charge: no VAT on the invoice, a reverse-charge note; the customer accounts for VAT
ConsumerYour own countryCharge your local VAT
ConsumerOther EU countryAbove the EU-wide €10,000 threshold for cross-border B2C sales: the VAT rate of the customer's country, declared through the One Stop Shop (OSS)
Any customerOutside the EUDepends on the customer's country; some countries require you to register for their tax

Bookwise example. A salon in Belgium with a valid VAT number buys Salon at €39. Bookwise is registered in the Netherlands. Invoice: €39.00, VAT 0% with the note "VAT reverse charged", total €39.00. The Belgian salon declares the VAT itself. A Dutch salon pays €39 + 21% VAT = €47.19.

Before applying reverse charge, check the customer's VAT number in VIES, the EU's VAT number validation service, and keep the result. (my-app.engineer does the same with your VAT number when you sign up.)

The EU VAT One Stop Shop portal
The EU One Stop Shop portal, used to declare VAT on cross-border B2C sales
How it works in your country

Invoicing and VAT on subscriptions: check how it works in your country.

  • VAT registration and small-business schemes differ per country: for example the KOR in the Netherlands (Belastingdienst), the subjective VAT exemption in Poland (Urząd Skarbowy), the Kleinunternehmerregelung in Germany (Finanzamt) and the VAT registration threshold in the UK (HMRC). A small-business exemption can affect whether you may charge VAT at all.
  • E-invoicing is becoming mandatory for B2B invoices in more countries. Poland's KSeF (Krajowy System e-Faktur) makes structured e-invoices mandatory in 2026; Belgium requires structured B2B e-invoices from 2026; Germany requires businesses to be able to receive e-invoices and is phasing in sending obligations; France is phasing in from September 2026. Check the current phase and dates with your tax authority, and check whether your billing tool can produce the required format (for example via Peppol or the national system).
  • Cross-border B2C: the OSS is an EU scheme; outside the EU, countries such as the UK, Norway and Switzerland have their own rules for digital services.
    Official starting points: the EU VAT e-commerce pages, VIES and your national tax authority's website.

Showing prices: excluding or including VAT

Bookwise sells to businesses, so its pricing page shows prices excluding VAT with a line "prices exclude VAT". If you sell to consumers, the price you show must normally include VAT. If you sell to both, the safest approach is to show the price including VAT for consumers or to let the visitor choose "business / private" first.

The customer portal

Self-service saves you hours. A customer portal lets customers update their card, download invoices, change plan and cancel without emailing you. Stripe offers a hosted customer portal you can link to from your app.

Stripe documentation page about the hosted customer portal
A hosted customer portal lets subscribers update cards, download invoices and change or cancel their plan

For Bookwise, the "Billing" page in the salon's settings has one button: "Manage subscription". Since adding it, billing emails to support dropped from about 15 to about 4 per month.

Watch out

Make cancelling as easy as signing up. Hiding the cancel option does not save customers; it creates disputes and, for consumers, can break the law. You will learn in module 3 how to use a short cancellation survey and a fair save offer instead.

Ask Claude to check your billing rules

Ask Claude
I run a SaaS business registered in [country], selling [product] to [businesses / consumers / both] in [countries]. My plans: [list of plans with prices excluding VAT and intervals]. My rules: upgrades [immediately with proration / at period end], downgrades [...], cancellations [...].

1. Calculate the proration for an upgrade from [plan A] to [plan B] on day [x] of a [30]-day period, step by step.
2. Make a table of VAT treatment per customer type and location for my situation, and mark every row I must verify with my tax authority, naming that authority.
3. List the fields my invoices must contain according to EU rules, and which national requirements I should check.
4. List the questions I should ask my accountant.
Do not give a definitive tax opinion.
Your task

Add a section "Billing rules" to your Pricing and billing plan: upgrade, downgrade and cancellation rules in one sentence each, one worked proration example, and a VAT table for your three most likely customer types. Mark every VAT row with the authority page you checked and the date.

This course is general information, not personal legal, tax or financial advice. Rules, amounts and dates change: check the official source for your country before you act.