diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index 2a9993fd..10262cc8 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -56066,7 +56066,8 @@ } }, "required": [ - "enabled" + "enabled", + "liability" ], "title": "SubscriptionAutomaticTax", "type": "object", diff --git a/embedded/openapi/spec3.json b/embedded/openapi/spec3.json index 23a7fb3a..e37d1529 100644 --- a/embedded/openapi/spec3.json +++ b/embedded/openapi/spec3.json @@ -38372,6 +38372,15 @@ "enabled": { "description": "Whether Stripe automatically computes tax on this subscription.", "type": "boolean" + }, + "liability": { + "anyOf": [ + { + "$ref": "#/components/schemas/connect_account_reference" + } + ], + "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.", + "nullable": true } }, "required": [ @@ -38379,7 +38388,9 @@ ], "title": "SubscriptionAutomaticTax", "type": "object", - "x-expandableFields": [] + "x-expandableFields": [ + "liability" + ] }, "subscription_billing_thresholds": { "description": "", @@ -70918,6 +70929,10 @@ "explode": true, "style": "deepObject" }, + "invoice_settings": { + "explode": true, + "style": "deepObject" + }, "items": { "explode": true, "style": "deepObject" @@ -71025,6 +71040,25 @@ "properties": { "enabled": { "type": "boolean" + }, + "liability": { + "properties": { + "account": { + "type": "string" + }, + "type": { + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" } }, "required": [ @@ -71133,6 +71167,32 @@ }, "type": "array" }, + "invoice_settings": { + "description": "All invoices will be billed using the specified settings.", + "properties": { + "issuer": { + "properties": { + "account": { + "type": "string" + }, + "type": { + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" + } + }, + "title": "invoice_settings_param", + "type": "object" + }, "items": { "description": "A list of up to 20 subscription items, each with an attached price.", "items": { @@ -71945,6 +72005,10 @@ "explode": true, "style": "deepObject" }, + "invoice_settings": { + "explode": true, + "style": "deepObject" + }, "items": { "explode": true, "style": "deepObject" @@ -72056,6 +72120,25 @@ "properties": { "enabled": { "type": "boolean" + }, + "liability": { + "properties": { + "account": { + "type": "string" + }, + "type": { + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" } }, "required": [ @@ -72214,6 +72297,32 @@ }, "type": "array" }, + "invoice_settings": { + "description": "All invoices will be billed using the specified settings.", + "properties": { + "issuer": { + "properties": { + "account": { + "type": "string" + }, + "type": { + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" + } + }, + "title": "invoice_settings_param", + "type": "object" + }, "items": { "description": "A list of up to 20 subscription items, each with an attached price.", "items": { @@ -125005,6 +125114,10 @@ "explode": true, "style": "deepObject" }, + "invoice_settings": { + "explode": true, + "style": "deepObject" + }, "items": { "explode": true, "style": "deepObject" @@ -125116,6 +125229,25 @@ "properties": { "enabled": { "type": "boolean" + }, + "liability": { + "properties": { + "account": { + "type": "string" + }, + "type": { + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" } }, "required": [ @@ -125259,6 +125391,32 @@ }, "type": "array" }, + "invoice_settings": { + "description": "All invoices will be billed using the specified settings.", + "properties": { + "issuer": { + "properties": { + "account": { + "type": "string" + }, + "type": { + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" + } + }, + "title": "invoice_settings_param", + "type": "object" + }, "items": { "description": "A list of up to 20 subscription items, each with an attached price.", "items": { @@ -126233,6 +126391,10 @@ "explode": true, "style": "deepObject" }, + "invoice_settings": { + "explode": true, + "style": "deepObject" + }, "items": { "explode": true, "style": "deepObject" @@ -126348,6 +126510,25 @@ "properties": { "enabled": { "type": "boolean" + }, + "liability": { + "properties": { + "account": { + "type": "string" + }, + "type": { + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" } }, "required": [ @@ -126521,6 +126702,32 @@ }, "type": "array" }, + "invoice_settings": { + "description": "All invoices will be billed using the specified settings.", + "properties": { + "issuer": { + "properties": { + "account": { + "type": "string" + }, + "type": { + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" + } + }, + "title": "invoice_settings_param", + "type": "object" + }, "items": { "description": "A list of up to 20 subscription items, each with an attached price.", "items": {