{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/stripe/main/json-schema/stripe-tax-registration-schema.json",
  "title": "TaxProductRegistrationsResourceTaxRegistration",
  "description": "A Tax `Registration` lets us know that your business is registered to collect tax on payments within a region, enabling you to [automatically collect tax](https://stripe.com/docs/tax).\n\nStripe doesn't register on your behalf with the relevant authorities when you create a Tax `Registration` object. For more information on how to register to collect tax, see [our guide](https://stripe.com/docs/tax/registering).\n\nRelated guide: [Using the Registrations API](https://stripe.com/docs/tax/registrations-api)",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stripe-tax-api-openapi.yml#/components/schemas/tax.registration",
  "properties": {
    "active_from": {
      "description": "Time at which the registration becomes active. Measured in seconds since the Unix epoch.",
      "format": "unix-time",
      "type": "integer"
    },
    "country": {
      "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
      "maxLength": 5000,
      "type": "string"
    },
    "country_options": {
      "$ref": "#/$defs/tax_product_registrations_resource_country_options"
    },
    "created": {
      "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
      "format": "unix-time",
      "type": "integer"
    },
    "expires_at": {
      "description": "If set, the registration stops being active at this time. If not set, the registration will be active indefinitely. Measured in seconds since the Unix epoch.",
      "format": "unix-time",
      "type": [
        "integer",
        "null"
      ]
    },
    "id": {
      "description": "Unique identifier for the object.",
      "maxLength": 5000,
      "type": "string"
    },
    "livemode": {
      "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
      "type": "boolean"
    },
    "object": {
      "description": "String representing the object's type. Objects of the same type share the same value.",
      "enum": [
        "tax.registration"
      ],
      "type": "string"
    },
    "status": {
      "description": "The status of the registration. This field is present for convenience and can be deduced from `active_from` and `expires_at`.",
      "enum": [
        "active",
        "expired",
        "scheduled"
      ],
      "type": "string"
    }
  },
  "required": [
    "active_from",
    "country",
    "country_options",
    "created",
    "id",
    "livemode",
    "object",
    "status"
  ],
  "type": "object",
  "x-expandableFields": [
    "country_options"
  ],
  "x-resourceId": "tax.registration",
  "$defs": {
    "tax_product_registrations_resource_country_options": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    }
  }
}