Get the TA list
Parameters
- regimen (integer) : Scheme, 4 digits. Possible values:
- 0111: General Scheme
- Table of scheme codes
- ccc (integer) : Contribution account code, 11 digits.
- nss (integer) : Social Security number, 12 digits.
- startDate optional (date) : Date, format YYYY-MM-DD. TGSS returns the movements from that date onwards (inclusive). If you will then request a duplicate by
indice, send the contract start date and use the same one induplicate-ta.
GET /ta-info-for-nss
{
"regimen": "0111",
"ccc": "12345678901",
"nss": "289999999999",
"startDate": "2023-01-16"
}Response
Each row of the list includes an indice, unique across the whole list (it does not repeat per page: the second page starts at 13). Use it to request the duplicate of that row’s TA, whether it is a registration, a deregistration or a variation, with Duplicates of TA documents (GET /duplicate-ta, indice parameter). The indice is numbered over the list filtered by startDate: request the duplicate with the same date.
Respuesta
{
"success": true,
"message": "OK",
"data": [
{
"indice": 2,
"documentoTA": "CAMBIO DE CONTRATO",
"date": "2023-02-01",
"contractType": "100"
},
{
"indice": 1,
"documentoTA": "ALTA (SIT.ACTUAL)",
"date": "2023-01-16",
"st": "01",
"gc": "02",
"contractType": "200",
"coeficiente": "0,500"
}
]
}Last updated on