Agregar contribuyente
Agrega un contribuyente a la cuenta con su RFC, nombre, régimen fiscal y código postal, sin CSD. Devuelve el contribuyente y la dirección de su página web, donde se sube el CSD; el CSD y la FIEL no pasan por el asistente. Errores: invalid_input, conflict, forbidden.
Alcance (scope): cefidia:write · Características: —
Parámetros¶
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
rfc |
texto | Sí | RFC del contribuyente, de 12 o 13 caracteres. |
name |
texto | Sí | Nombre o razón social, como aparece en su constancia. |
fiscal_regime |
texto | Sí | Clave del régimen fiscal, del catálogo c_RegimenFiscal. |
postal_code |
texto | Sí | Código postal del domicilio fiscal, de 5 dígitos. |
Esquema de entrada (JSON Schema)¶
{
"additionalProperties": false,
"properties": {
"rfc": {
"description": "RFC del contribuyente, de 12 o 13 caracteres.",
"maxLength": 20,
"title": "Rfc",
"type": "string"
},
"name": {
"description": "Nombre o razón social, como aparece en su constancia.",
"maxLength": 300,
"title": "Name",
"type": "string"
},
"fiscal_regime": {
"description": "Clave del régimen fiscal, del catálogo c_RegimenFiscal.",
"maxLength": 10,
"title": "Fiscal Regime",
"type": "string"
},
"postal_code": {
"description": "Código postal del domicilio fiscal, de 5 dígitos.",
"maxLength": 10,
"title": "Postal Code",
"type": "string"
}
},
"required": [
"rfc",
"name",
"fiscal_regime",
"postal_code"
],
"title": "AddTaxpayerInput",
"type": "object"
}