{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/storecove/json-schema/storecove-additional-tax-identifier-create-schema.json",
  "title": "AdditionalTaxIdentifierCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/storecove-additionaltaxidentifiers-api-openapi.yml#/components/schemas/AdditionalTaxIdentifierCreate",
  "properties": {
    "country": {
      "type": "string",
      "title": "Country",
      "description": "The ISO3166 country code to use this identifier for in case of consumerTaxMode.",
      "minLength": 2,
      "maxLength": 2
    },
    "county": {
      "type": "string",
      "title": "County",
      "description": "The county/state inside the country code to use this identifier for in case of consumerTaxMode. Leave empty to create an additional tax identifier for the entire country. For India, use the two last characters of ISO 3166-2:IN (https://en.wikipedia.org/wiki/States_and_union_territories_of_India).",
      "minLength": 2,
      "maxLength": 2
    },
    "superscheme": {
      "type": "string",
      "title": "Type",
      "description": "The superscheme of the identifier. Should always be \"iso6523-actorid-upis\".",
      "minLength": 2,
      "maxLength": 64
    },
    "scheme": {
      "type": "string",
      "title": "Type",
      "description": "The scheme of the identifier.",
      "minLength": 2,
      "maxLength": 64
    },
    "identifier": {
      "title": "Identifier",
      "description": "The identifier.",
      "type": "string"
    },
    "third_party_username": {
      "type": "string",
      "title": "Username",
      "description": "The username to use to authenticate to a system through which to send the document, or to obtain tax authority approval to send it. This field is currently relevant only for India and mandatory when creating an IN tax identifier.",
      "minLength": 2,
      "maxLength": 64
    },
    "third_party_password": {
      "type": "string",
      "title": "Password",
      "description": "The password to use to authenticate to a system through which to send the document, or to obtain tax authority approval to send it. This field is currently relevant only for India and mandatory when creating an IN tax identifier.",
      "minLength": 2,
      "maxLength": 64
    }
  },
  "required": [
    "country",
    "identifier",
    "scheme",
    "superscheme"
  ]
}