Skip to Content
Social SecurityHousehold employees schemeDeregister a household employee

Deregister a household employee

To test without real effects, send the X-Saltra-Mode: test header: nothing is sent to the authority and the response carries sample data. In production, without the header, the request is real. Details in Environments and test mode.

Register the deregistration of a household employee.

Base URL

https://api.saltra.es/api/v4/seg-social/hogar

Parameters

  • ccc (integer): Contribution account code, 11 digits.
  • datos_trabajador (object): Worker details.
    • DOC (string): National identity document.
    • SEL_IPF_TIPO optional (integer): Identification type. Possible values:
      • 1: DNI
      • 2: Passport
      • 6: NIE
    • NSS (integer): Social Security number, 12 digits.
  • datos_baja (object): Deregistration details.
    • FECHA_CESE (date): Termination date, format YYYY-MM-DD.
    • SEL_SELEC_CAUSA (integer): Reason for deregistration, 2 digits. Common values:
      • 51: Voluntary resignation
      • 54: End of contract
      • 56: Expiry of contract
      • 65: Dismissal
    • DIAS_VACACIONES optional (integer): Holiday days.
POST /hogar/baja
{ "ccc": "12345678901", "datos_trabajador": { "DOC": "12345678A", "SEL_IPF_TIPO": 1, "NSS": "123456789012" }, "datos_baja": { "FECHA_CESE": "2023-01-31", "SEL_SELEC_CAUSA": "51", "DIAS_VACACIONES": 0 } }

Response

Respuesta
{ "success": true, "message": "OK", "data": { "file": { "contentType": "application/pdf", "name": "document.pdf", "content": "base64" } } }
Last updated on