{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/BillingTaxConfig", "title": "BillingTaxConfig", "description": "Set of provider specific tax configs.", "type": "object", "properties": { "behavior": { "description": "Tax behavior.\n\nIf not specified the billing profile is used to determine the tax behavior.\nIf not specified in the billing profile, the provider's default behavior is used.", "type": "string", "enum": [ "inclusive", "exclusive" ], "title": "Tax behavior", "x-speakeasy-unknown-values": "allow" }, "stripe": { "description": "Stripe tax config.", "type": "object", "deprecated": true, "properties": { "code": { "description": "Product [tax code](https://docs.stripe.com/tax/tax-codes).", "type": "string", "example": "txcd_10000000", "pattern": "^txcd_\\d{8}$", "title": "Tax code" } }, "required": [ "code" ], "title": "Stripe tax config" }, "external_invoicing": { "description": "External invoicing tax config.", "type": "object", "deprecated": true, "properties": { "code": { "description": "The tax code should be interpreted by the external invoicing provider.", "type": "string", "maxLength": 64, "title": "Tax code" } }, "required": [ "code" ], "title": "External invoicing tax config" }, "tax_code_id": { "description": "Tax code ID.", "type": "string", "example": "01G65Z755AFWAKHE12NY0CQ9FH", "deprecated": true, "pattern": "^[0-7][0-9A-HJKMNP-TV-Z]{25}$", "title": "Tax code ID" }, "tax_code": { "description": "Tax code reference.\n\nWhen both `tax_code` and `tax_code_id` are provided, `tax_code` takes precedence.\nWhen `stripe.code` is also provided, `tax_code` still wins and `stripe.code` is ignored.", "type": "object", "properties": { "id": { "$ref": "#/components/schemas/ULID" } }, "required": [ "id" ], "title": "Tax code" } } }