Conversion to a permanent contract
Add test=1 to run tests without real effects. In production, omit this parameter.
Parameters
-
test (number (1)) : For testing, add the test=1 parameter. It must be omitted in production.
-
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.
- 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:
- 0011: Armed forces officers
- Table of codes (opens in a new tab) TAICLAOC.txt
-
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.
- TIPO_FIRMA (integer) : Signature type. Possible values:
-
DATOS_CONTRATO_TIEMPO_PARCIAL (object): Optional, 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.
- TIPO_JORNADA (string) : Working hours type. Possible values:
-
DATOS_ADICIONALES_TRANSFORMACION (object): Optional. 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:
- S: PEOPLE WITH DISABILITIES.
- Table of codes (opens in a new tab) TEJINDIS.txt
- CODIGO_COLECTIVO_REDUCCION (string) : Reduction collective. Possible values:
- 01: UNEMPLOYED PEOPLE AGED 30 OR UNDER.
- Table of codes (opens in a new tab) TQOCOLRE.txt
- 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:
-
DATOS_BONIFICACION (object): Optional. Subsidy details.
- COLECTIVO_DISCAPACITADOS (string) : Subsidy collective code for people with disabilities
- Table of codes (opens in a new tab) TELCOLBO.txt
- COLECTIVO_DISCAPACITADOS (string) : Subsidy collective code for people with disabilities
-
duplicate (integer) : Optional. Get the PDF as base64 in JSON format in the response; possible values 1 or null.
{
"test": 1,
"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
{
"success": true,
"message": "OK",
"data": {
"file": {
"contentType": "application/pdf",
"name": "document.pdf",
"content": "base64"
}
}
}