Modificar contribuyente
Cambia el nombre, el régimen fiscal o el código postal de un contribuyente; lo que se omite se conserva. El RFC no cambia y el CSD y la FIEL no se tocan. Devuelve el contribuyente. Errores: invalid_input, not_found, forbidden.
Alcance (scope): cefidia:write · Características: Destructiva, Idempotente
Parámetros¶
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
taxpayer |
texto | No | Nombre o RFC del contribuyente. Se puede omitir si solo hay uno. |
name |
texto | No | Nuevo nombre o razón social. |
fiscal_regime |
texto | No | Nueva clave del régimen fiscal. |
postal_code |
texto | No | Nuevo código postal, de 5 dígitos. |
Esquema de entrada (JSON Schema)¶
{
"additionalProperties": false,
"properties": {
"taxpayer": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Nombre o RFC del contribuyente. Se puede omitir si solo hay uno.",
"title": "Taxpayer"
},
"name": {
"anyOf": [
{
"maxLength": 300,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Nuevo nombre o razón social.",
"title": "Name"
},
"fiscal_regime": {
"anyOf": [
{
"maxLength": 10,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Nueva clave del régimen fiscal.",
"title": "Fiscal Regime"
},
"postal_code": {
"anyOf": [
{
"maxLength": 10,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Nuevo código postal, de 5 dígitos.",
"title": "Postal Code"
}
},
"title": "UpdateTaxpayerInput",
"type": "object"
}