Help

Business details on invoices

At a venue in Portugal, let customers add a NIF and their company name and address at checkout, so invoicing software reading your Stripe account can issue a certified invoice.

Who can do this: admins only 4 min read

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, city and country (a 2-letter code, such as PT).
  • A private buyer who adds a NIF without ticking the business box gets nif only, with no company_name and 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 as nif.
  • 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.purchased on stripe_checkout_session_id, membership.renewed on stripe_invoice_id and payment.refunded on stripe_event_id.
  • payment.refunded fires once per refund, full or partial, wherever it was made, including your Stripe dashboard. amount_refunded is the running total. purchase_type is booking, modification (extra spaces), bundle, gift_voucher, membership (a one-off membership), membership_invoice (a membership payment) or other. A refund that later fails sends no event.
  • bundle.purchased fires for online purchases. A bundle you sell at the desk doesn't send one yet.
  • membership.renewed fires for each renewal, not the first payment (that's membership.created). A renewal covered in full by a discount or credit still fires, with no stripe_payment_intent_id. A member moved from another platform gets it at their first charge after the trial. Its business_details come from the invoice, so a tax ID you add to the customer in Stripe shows too.

Common questions

  1. Can I record business details on a desk sale? Not yet. A booking or gift voucher you record yourself doesn't collect them.

  2. 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.

  3. 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.

Was this helpful?