Skip to main content

Social Security

Description​

Validate information from Social Security contributions issued by ANSES.

HTTP method GET​

Endpoint​

https://8ehec73psb.execute-api.us-west-2.amazonaws.com/uat/identity/api/idv-govcheck/v1/ar-identity/{CUIL}/social-security

Request header parameter​

NAMEREQUIREDTYPEDESCRIPTION
Authorization✅stringbearer jwt token

URI request parameter​

NAMEREQUIREDTYPEDESCRIPTION
CUIL number✅stringArgentina labor identification number

Status code responses​

CodeDescription
200 OK
400 Bad request
401 Unauthorized
404 Not found
500 Internal server error.

The full documentation error codes can be found here.

Response 200 status code​


{
"traceId": "b2345cfc7bee621e",
"timestamp":"2023-05-15 11:59:35",
"data": {
"id": 0,
"cuil": 0,
"fecpres": "string",
"pago": true
}
],
"cantTotal": 0
},
"actividad": {
"datos": [
{
"cuil": 0,
"descripcion": "string",
"ciiu": 0
}
],
"cantTotal": 0
},
"obraSocial": {
"datos": [
{
"descripcion": "string",
"codigo": "string"
}
],
"cantTotal": 0
},
"empAportes": {
"datos": [
{
"periodo": "string",
"cantidadEmpleados": 0,
"empleados": [
{
"cuil": 0,
"nombre": "string"
}
]
}
],
"cantTotal": 0
},
"sueldos": {
"datos": [
{
"periodo": "string",
"remuneracion": 0,
"cuil": 0,
"cuit": 0
}
],
"cantTotal": 0
},
"empDomesticos": {
"datos": [
{
"domestico": {
"id": 0,
"cuil": 0,
"estado": "string",
"nombre": "string",
"cuilEmple": 0,
"alta": "string",
"baja": "string",
"modoLiquida": "string",
"sueldo": 0
},
"aportes": [
{
"id": 0,
"cuil": 0,
"fecpres": "string",
"pago": true
}
]
}
],
"cantTotal": 0
},
"domAportes": {
"datos": [
{
"id": 0,
"cuil": 0,
"fecpres": "string",
"pago": true
}
],
"cantTotal": 0
},
"seguridadSocial": {
"datos": [
{
"cuil": 0,
"periodo": "string",
"segSocialAportes": 0,
"segSocialContribu": 0,
"segSocialRetencion": 0,
"obSocialAportes": 0,
"obSocialContribu": 0,
"obSocialRetencion": 0
}
],
"cantTotal": 0
},
"jubilacion": {
"datos": [
{
"cuil": 0,
"cuilApo": 0,
"sueldoBruto": "string",
"sueldoNeto": "string",
"titular": "string",
"apoderado": "string",
"periodo": "string"
}
],
"cantTotal": 0
}


Response 400 status code​

{
"traceId": "542fc743fffda052",
"timestamp": "2023-05-05 11:20:46",
"code": "IDV-4005",
"message": "-",
"data": null
}

Response 401 status code​

{
"timestamp": "YYYY-MM-DDTHH:mm:ss.sssZ",
"status": 401,
"error": "Unauthorized",
"path": "/api/idv-govcheck/v1/ar-identity/{CUIL}/social-security"
}

Response 500 status code​

{
"traceId": "43a20f33d4e8730d",
"timestamp": "yyyy-mm-dd HH:MM:SS",
"code": "IDV-1001",
"message": "A generic error has occurred.",
"data": null
}