← InicioFleetPay / Schema

CtePreviousPartyInput

Estructura preservada del contrato versionado de la API.

Las descripciones técnicas se traducen del contrato versionado. Se conservan los identificadores y el JSON originales; se omiten los ejemplos de datos.

documentostring | nullOpcional
maxLength14
iestring | nullOpcional
maxLength20
nomestring | nullOpcional
maxLength120
fantasiastring | nullOpcional
maxLength120
enderecoobject | nullOpcional
Definición JSON Original (Descripciones en Portugués)
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "documento": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 14
    },
    "ie": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 20
    },
    "nome": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 120
    },
    "fantasia": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 120
    },
    "endereco": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "logradouro": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 120
        },
        "numero": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 20
        },
        "complemento": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 60
        },
        "bairro": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 80
        },
        "codigo_municipio": {
          "type": [
            "string",
            "null"
          ],
          "pattern": "^\\d{7}$"
        },
        "municipio": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 80
        },
        "uf": {
          "type": [
            "string",
            "null"
          ],
          "minLength": 2,
          "maxLength": 2
        },
        "cep": {
          "type": [
            "string",
            "null"
          ],
          "pattern": "^\\d{8}$"
        },
        "telefone": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 20
        }
      }
    }
  }
}