Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Add a stripe taxid

Terry Suttond98d5e11b32b
diff --git a/studio/components/interfaces/Organization/BillingSettings/TaxID/TaxID.constants.ts b/studio/components/interfaces/Organization/BillingSettings/TaxID/TaxID.constants.ts
index 47251078d2b..e20cebbba26 100644
--- a/studio/components/interfaces/Organization/BillingSettings/TaxID/TaxID.constants.ts
+++ b/studio/components/interfaces/Organization/BillingSettings/TaxID/TaxID.constants.ts
@@ -3,13 +3,21 @@
// Last updated as of 29th March 2022.
// The code may not necessarily match with the name (ref SE_VAT)
// https://stripe.com/docs/api/customer_tax_ids/create
-interface TaxId {
+export interface TaxId {
name: string
code: string
country: string
placeholder: string
}
+export interface StripeTaxId {
+ id: string
+ type: string
+ value: string
+ name: string
+ country?: string
+}
+
export const TAX_IDS: TaxId[] = [
{
name: 'AE TRN',