Worker data in TA document queries
04/09/2026
Get TA list and TA Document Duplicates now return the worker's identifying data, which until now required a separate query.
"employee": {
"name": "MARIA PEREZ GOMEZ",
"identity": "1",
"doc": "012345678Z",
"nss": "289999999999"
}- name: full name, exactly as returned by TGSS.
- identity: document type.
1DNI,6NIE,2passport. - doc: document number.
- nss: Social Security number, 12 digits.
In /ta-info-for-nss the key hangs off the response root, next to data. In /duplicate-ta it hangs off data, next to data.data and data.file.
This is an additive change: no existing field changes and it costs no extra TGSS request, because the data already travelled in the same screen the listing is extracted from.
employee is accessory information. If TGSS does not return it, the key is absent and the rest of the response is unaffected; individual keys that could not be read are omitted too. Do not assume all four are present.