← InícioFleetPay / Schema

FiscalConfigurationData

Estrutura preservada do contrato versionado da API.

Descrições técnicas preservadas do contrato versionado. Exemplos de dados foram omitidos da cópia pública.

state_registrationstring | nullObrigatório
rntrcstring | nullObrigatório
pattern"^\\d{8}$"
rntrc_valid_untilstring | null · dateObrigatório
cte_numberingobjectObrigatório

Série e número do CT-e são do provedor fiscal; não há série local.

city_codestring | nullObrigatório
pattern"^\\d{7}$"
enderecoobject | nullObrigatório

Endereço fiscal padrão da empresa, o mesmo que a emissão usa; null quando não cadastrado.

Definição JSON Completa
{
  "type": "object",
  "required": [
    "state_registration",
    "rntrc",
    "rntrc_valid_until",
    "cte_numbering",
    "city_code",
    "endereco"
  ],
  "properties": {
    "state_registration": {
      "type": [
        "string",
        "null"
      ]
    },
    "rntrc": {
      "type": [
        "string",
        "null"
      ],
      "pattern": "^\\d{8}$"
    },
    "rntrc_valid_until": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "cte_numbering": {
      "type": "object",
      "description": "Série e número do CT-e são do provedor fiscal; não há série local.",
      "required": [
        "authority",
        "series_configurable"
      ],
      "properties": {
        "authority": {
          "type": "string",
          "enum": [
            "provider"
          ]
        },
        "series_configurable": {
          "type": "boolean",
          "enum": [
            false
          ]
        }
      }
    },
    "city_code": {
      "type": [
        "string",
        "null"
      ],
      "pattern": "^\\d{7}$"
    },
    "endereco": {
      "type": [
        "object",
        "null"
      ],
      "description": "Endereço fiscal padrão da empresa, o mesmo que a emissão usa; `null` quando não cadastrado.",
      "properties": {
        "logradouro": {
          "type": [
            "string",
            "null"
          ]
        },
        "numero": {
          "type": [
            "string",
            "null"
          ]
        },
        "complemento": {
          "type": [
            "string",
            "null"
          ]
        },
        "bairro": {
          "type": [
            "string",
            "null"
          ]
        },
        "municipio": {
          "type": [
            "string",
            "null"
          ]
        },
        "uf": {
          "type": [
            "string",
            "null"
          ]
        },
        "cep": {
          "type": [
            "string",
            "null"
          ]
        },
        "codigo_municipio": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  }
}