Get a household employee report (duplicate)
⚠️
Add test=1 to run tests without real effects. In production, omit this parameter.
Get a report of the registration or deregistration of a household employee.
Base URL
https://api.saltra.es/api/v4/seg-social/hogarParameters
- test (number (1)): For testing, add the test=1 parameter. It must be omitted in production.
- ccc (integer): Contribution account code, 11 digits.
- datos_trabajador (object): Worker details.
- DOC (string): National identity document.
- SEL_IPF_TIPO (integer): Optional. Identification type. Possible values:
- 1: DNI
- 2: Passport
- 6: NIE
- NSS (integer): Social Security number, 12 digits.
- TIPO_RESOLUCION (string): Resolution type, values: "A" (registration) or "B" (deregistration).
- datos_alta (object): Optional. Registration details.
- FECHA_INI_ACTIVIDAD (date): Optional. Activity start date, format YYYY-MM-DD.
POST /hogar/report
{
"test": 1,
"ccc": "12345678901",
"datos_trabajador": {
"DOC": "12345678A",
"SEL_IPF_TIPO": 1,
"NSS": "123456789012"
},
"TIPO_RESOLUCION": "A",
"datos_alta": {
"FECHA_INI_ACTIVIDAD": "2023-01-01"
}
}Response
Respuesta
{
"success": true,
"message": "OK",
"data": {
"file": {
"contentType": "application/pdf",
"name": "document.pdf",
"content": "base64"
}
}
}