Query the bank details of a CCC
07/10/2026
New Query bank details endpoint (GET /datos-bancarios, same path as the PUT of Report bank details). Given regimen and ccc, it returns what TGSS has on record for that contribution account:
saldo_acreedorandcargo_en_cuenta: full IBAN, its parts and the holder (document type, identification and name);nullif no account is on record.datos_bancarios: the full TGSS screen, with its original field names.- If the certificate has several RED authorisations,
422withdata.authorized_list, same as thePUT.
The tgss_get_datos_bancarios MCP tool runs the same query.