Skip to Content
SEPEConversions to permanent contractsConversion to a permanent contract

Conversion to a permanent contract

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.

Parameters

  • TIPO_CONTRATO (integer) : Contract type, 3 digits. Possible values:

    • 109: Conversion, full-time, subsidised
    • 189: Conversion, full-time, not subsidised
    • 209: Conversion, part-time, subsidised
    • 309: Conversion, permanent seasonal, subsidised
    • 289: Conversion, part-time, not subsidised
    • 389: Conversion, permanent seasonal, not subsidised
    • 139: Conversion, full-time, people with disabilities
    • 239: Conversion, part-time, people with disabilities
    • 339: Conversion, permanent seasonal, people with disabilities
  • DATOS_EMPRESA (object): Company details.

    • CODIGO_CUENTA_COTIZACION (integer) : Scheme + contribution account code.
  • DATOS_CONTRATO (object): Contract details.

    • FECHA_INICIO_CTO (date) : Contract start date, format Y-m-d.
    • IDENTIFICADORPFISICA (string): Document type + document, 11 characters: the document type letter followed by the full document (including its check letter), left-padded with zeros to 10 positions. Possible document type values:
      • D: DNI. Example: 09665999X → D009665999X.
      • E: NIE. Example: X1234567L → E0X1234567L.
    • CLAVE_CONTRATO (string): SEPE fingerprint of the contract.
  • DATOS_GENERALES_TRANSFORMACION (object): Conversion details.

    • FECHA_INICIO (date) : Conversion start date, format Y-m-d.
    • CODIGO_OCUPACION (integer) : National Classification of Occupations (CNO), 4 digits. Possible values:
  • DATOS_COMUNICA_COPIA_BASICA (object): Basic copy details.

    • TIPO_FIRMA (integer) : Signature type. Possible values:
      • 1: SIGNED BY THE LEGAL REPRESENTATIVES.
      • 2: THERE IS NO LEGAL REPRESENTATION.
      • 3: THE COPY HAS NOT BEEN PROVIDED.
      • 4: THEY REFUSE TO SIGN.
    • TEXTO_COPIABASICA (string) : Text of the basic copy.
    • DOMIC_CENTRO_TRABAJO (string) : Work centre.
  • DATOS_CONTRATO_TIEMPO_PARCIAL optional (object): For part-time contracts.

    • TIPO_JORNADA (string) : Working hours type. Possible values:
      • A: Annual
      • B: Daily
      • M: Monthly
      • S: Weekly
    • HORAS_JORNADA (string) : Hours + minutes, format: HHHHMM.
  • DATOS_ADICIONALES_TRANSFORMACION optional (object): Additional details.

    • IND_DISCAPACIDAD (string) : Disability indicator. Mandatory with “S” for conversions of contracts for people with disabilities. Mandatory with “C” for conversions of contracts for people with disabilities in special employment centres. Possible values:
    • CODIGO_COLECTIVO_REDUCCION (string) : Reduction collective. Possible values:
  • DATOS_BONIFICACION optional (object): Subsidy details.

    • COLECTIVO_DISCAPACITADOS (string) : Subsidy collective code for people with disabilities
  • duplicate optional (integer) : Get the PDF as base64 in JSON format in the response; possible values 1 or null.

POST /transformation
{ "TIPO_CONTRATO": "198", "DATOS_EMPRESA": { "CODIGO_CUENTA_COTIZACION":"011112345678901" }, "DATOS_CONTRATO":{ "FECHA_INICIO_CTO":"2026-01-26", "IDENTIFICADORPFISICA": "D009665999X", "CLAVE_CONTRATO":"E-10-2026-0009999" }, "DATOS_GENERALES_TRANSFORMACION":{ "FECHA_INICIO":"2026-01-27", "CODIGO_OCUPACION":"5120" }, "DATOS_COMUNICA_COPIA_BASICA":{ "TIPO_FIRMA":2, "TEXTO_COPIABASICA":"S/C", "DOMIC_CENTRO_TRABAJO":"Calle" }, "DATOS_CONTRATO_TIEMPO_PARCIAL":{ "TIPO_JORNADA":"S", "HORAS_JORNADA":"003600" }, "duplicate": 1 }

Response

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