If you invoice through software that reads your Stripe account, such as TOConline through Make, or Rioko, customers can give you the details a full invoice needs. There's nothing to switch on. For your own tax number on receipts, see How tax works.
What customers see
- Venues in Portugal only. Checkout shows these fields only when your venue's country is Portugal, where certified invoicing needs them. Venues anywhere else don't see them.
- Every buyer can add a NIF. Under the booking note, checkout shows Add your NIF to the invoice. It's optional and stays closed unless they open it.
- Business buyers tick This is a business purchase and add their company name, address, postal code, city and country. With the box ticked, the tax number and the address are required.
- Portuguese NIFs are checked. A NIF must be 9 digits with a valid check digit. A foreign VAT number, such as
ESB12345678, is accepted as typed.
It's offered on session checkout, booking requests, bundles, gift vouchers and paid memberships. Free bookings and free memberships don't show it, because there's no payment to invoice.
Where the details land in Stripe
- One-off payments (bookings, bundles, gift vouchers, one-off memberships) carry them in the payment's metadata as
nif,company_name,address_line1,address_line2(only when filled in),postal_code,cityandcountry(a 2-letter code, such asPT). - A private buyer who adds a NIF without ticking the business box gets
nifonly, with nocompany_nameand no address. - Extra spaces added to a booking later are a separate payment, and carry the same keys as the original booking.
- Memberships put the tax number, company name and address on the member's Stripe customer, so every renewal invoice carries them. A private member keeps their own name. The first invoice is created a moment before the customer is updated, so it carries the same keys in the invoice's subscription details metadata (
parent.subscription_details.metadata) instead. If Stripe has no tax ID type for the buyer's country, the number is kept in the customer's metadata asnif. - A member who joins while booking has one Stripe customer at your venue for their bookings and their membership. With the business box ticked, that customer is renamed to the company, so their later bookings show the company name too.
- Nothing is stored in Session. Stripe holds the details, so they don't appear in Session's exports.
In webhook events
Webhooks for bundle.purchased, voucher.purchased, membership.renewed and payment.refunded carry a business_details block with the same names as the payment metadata: nif, company_name, address_line1, address_line2, postal_code, city and country. It's empty when the buyer gave no tax number, and a private buyer's has nif only.
- A retried delivery can arrive twice. Match
bundle.purchasedonstripe_checkout_session_id,membership.renewedonstripe_invoice_idandpayment.refundedonstripe_event_id. payment.refundedfires once per refund, full or partial, wherever it was made, including your Stripe dashboard.amount_refundedis the running total.purchase_typeisbooking,modification(extra spaces),bundle,gift_voucher,membership(a one-off membership),membership_invoice(a membership payment) orother. A refund that later fails sends no event.bundle.purchasedfires for online purchases. A bundle you sell at the desk doesn't send one yet.membership.renewedfires for each renewal, not the first payment (that'smembership.created). A renewal covered in full by a discount or credit still fires, with nostripe_payment_intent_id. A member moved from another platform gets it at their first charge after the trial. Itsbusiness_detailscome from the invoice, so a tax ID you add to the customer in Stripe shows too.
Common questions
-
Can I record business details on a desk sale? Not yet. A booking or gift voucher you record yourself doesn't collect them.
-
A customer typed their NIF wrong. Correct it on the payment in your Stripe dashboard before your invoicing software issues the invoice, or correct the invoice in that software.
-
Why does a business invoice need the address? Invoicing software such as Rioko holds a business invoice without an address as a draft, so checkout won't take a business purchase without one.