← HomeFleetPay / Schema

MdfeClosingInput

Structure preserved from the versioned API contract.

Technical descriptions are translated from the versioned contract. Original identifiers and JSON are preserved; data examples are omitted.

closing_city_codestringRequired
pattern"^\\d{7}$"
closing_citystring | nullOptional
minLength2
maxLength60
closing_statestring | nullOptional
minLength2
maxLength2
closed_onstring · dateRequired

Calendar date on or before the current date.

Original JSON Definition (Portuguese Descriptions)
{
  "type": "object",
  "required": [
    "closing_city_code",
    "closed_on"
  ],
  "properties": {
    "closing_city_code": {
      "type": "string",
      "pattern": "^\\d{7}$"
    },
    "closing_city": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 2,
      "maxLength": 60
    },
    "closing_state": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 2,
      "maxLength": 2
    },
    "closed_on": {
      "type": "string",
      "format": "date",
      "description": "Data civil igual ou anterior à data atual."
    }
  }
}