carlos / platform Public

checkout-tax-id: reverse charge applies only where the sale qualifies (Astra r1 P2); approved docs sentence

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev fcf13e692c0a3c904274280d88b0616447f8f6ee parent 53db86d
2 files changed, +4 −3
  • docs/site/plans.md +1 −1
  • internal/billingstripe/prepared.go +3 −2

CI passed — run details

diff --git a/docs/site/plans.md b/docs/site/plans.md
index 04dbc7565..940eea65e 100644
--- a/docs/site/plans.md
+++ b/docs/site/plans.md
@@ -207,7 +207,7 @@ Where billing is on, an account's owners buy and change their plan on the accoun
### Buying a plan
-Under **Choose a plan**, pick a currency (`usd`, `eur` or `gbp`), a plan, and any packs, then press **Continue to payment**. You go to Stripe to pay. When you come back, the page shows your new plan as soon as the payment is confirmed. Prices are for a year, and tax is added where it applies. Checkout asks business customers for their VAT number, and Stripe applies reverse charge.
+Under **Choose a plan**, pick a currency (`usd`, `eur` or `gbp`), a plan, and any packs, then press **Continue to payment**. You go to Stripe to pay. When you come back, the page shows your new plan as soon as the payment is confirmed. Prices are for a year, and tax is added where it applies. Business customers can add a VAT number at checkout. Stripe then applies reverse charge where the sale qualifies.
The currency is fixed by the first purchase. After that the page says which currency the account pays in, and changing it means asking an operator.
diff --git a/internal/billingstripe/prepared.go b/internal/billingstripe/prepared.go
index fad603611..00c1ec7bc 100644
--- a/internal/billingstripe/prepared.go
+++ b/internal/billingstripe/prepared.go
@@ -69,8 +69,9 @@ func (p *Provider) PrepareCheckout(req billing.CheckoutRequest) (billing.Prepare
}
form.Set("billing_address_collection", "required")
form.Set("customer_update[address]", "auto")
- // Optional VAT number: Stripe Tax applies reverse charge to an EU
- // business that gives one. tax_id_collection[required] stays unset (it
+ // Optional VAT number: Stripe Tax applies reverse charge when an EU
+ // business that gives one is eligible for it (never for a domestic sale,
+ // which keeps VAT). tax_id_collection[required] stays unset (it
// defaults to never). Stripe requires customer_update[name]=auto beside
// tax_id_collection when the session has a customer, as ours always
// does. These ride only on a newly prepared request: Send resends a