CustomerTaxId
Source:
src/Stripe/CustomerTaxId.ts
A Stripe Customer Tax ID — a tax identifier (VAT, EIN, GST, …) attached
to a Customer and printed on invoices. Existence-only: type and value
cannot be updated in place; changing customer, type, or value
replaces the tax ID. Destroy deletes it.
Customer tax IDs have no metadata of their own. Ownership for
account-wide list() (nuke) is inferred from the parent Customer’s
Alchemy metadata.
Creating a Customer Tax ID
Section titled “Creating a Customer Tax ID”const customer = yield* Stripe.Customer("alice", { email: "alice@example.com",});const vat = yield* Stripe.CustomerTaxId("alice-vat", { customer: customer.id, type: "eu_vat", value: "DE123456789",});Replacing a Tax ID
Section titled “Replacing a Tax ID”const vat = yield* Stripe.CustomerTaxId("alice-vat", { customer: customer.id, type: "eu_vat", value: "DE000000000",});