state_registrationstring | nullOptionalState tax registration, normalized to uppercase.
maxLength20Parameters, data structure and responses from the versioned contract.
/fiscal/configuracaoTechnical descriptions are translated from the versioned contract. Original identifiers and JSON are preserved; data examples are omitted.
Updates only the provided fields. Send null to clear an optional field.
[
{
"oauth2": []
},
{
"chaveApi": []
}
]No parameters declared for this operation.
Required
application/jsonstate_registrationstring | nullOptionalState tax registration, normalized to uppercase.
maxLength20rntrcstring | nullOptionalBrazilian National Registry of Road Freight Carriers with 8 digits.
pattern"^\\d{8}$"rntrc_valid_untilstring | null · dateOptionalRNTRC expiration date in YYYY-MM-DD format.
city_codestring | nullOptionalMunicipality's IBGE code, with 7 digits.
pattern"^\\d{7}$"enderecoobjectOptionalCompany fiscal address — the CT-e/MDF-e issuer. Without it, the CT-e preview is rejected with "Endereço da empresa não cadastrado" (company address not registered).
200 HTTP ResponseFiscal configuration of the authenticated carrier.
application/jsondataobjectRequiredenvironmentobjectRequiredX-Request-IdCall correlation identifier.
401 HTTP ResponseFleetPay API key missing or invalid.
X-Request-IdCall correlation identifier.
403 HTTP ResponseFiscal scope disabled for the key, or no active carrier associated with the key.
X-Request-IdCall correlation identifier.
422 HTTP ResponseInvalid payload.
X-Request-IdCall correlation identifier.
429 HTTP ResponsePer-carrier limit exceeded.
X-Request-IdCall correlation identifier.
Retry-AfterSeconds until another attempt.
500 HTTP ResponseInternal failure without operational integration details.
X-Request-IdCall correlation identifier.
{
"tags": [
"Configuração"
],
"summary": "Atualizar configuração fiscal da transportadora",
"description": "Atualiza somente os campos informados. Envie null para limpar um campo opcional.",
"operationId": "updateFiscalConfiguration",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FiscalConfigurationUpdate"
}
}
}
},
"responses": {
"200": {
"$ref": "#/components/responses/FiscalConfigurationOk"
},
"401": {
"$ref": "#/components/responses/Unauthorized"
},
"403": {
"$ref": "#/components/responses/Forbidden"
},
"422": {
"$ref": "#/components/responses/ValidationFailed"
},
"429": {
"$ref": "#/components/responses/RateLimited"
},
"500": {
"$ref": "#/components/responses/InternalError"
}
},
"method": "PUT",
"path": "/fiscal/configuracao",
"parameters": []
}