Labor check
Authentication
Path parameters
Response
200 OK
Who your customer has worked for and when, what they have contributed month by month, the minimum net income their bases support, and the work statuses they hold today. The official report the figures come from is in attachments.
The product type identifier. Always social_security for this product.
The sub-family identifier: social_security:spain_labor_check, the Spanish Social Security (TGSS) labor life
check.
Work relation history: ongoing relations first, then the finished ones from the most recently ended backwards — including situations assimilated to registration such as benefit periods.
Flat monthly contribution-base history, most recent first. Months only — company attribution lives in contribution_base_by_company, which groups these same months per employer account.
True when the person is actually WORKING right now: at least one entry in
current_work_types is real work (employee, self_employed or public_employee).
Receiving an unemployment benefit is not active employment. Neither is a hire scheduled
for a future date: Social Security reports such a person as registered (“alta
programada”), but this field stays false until the job actually starts. false means
the person’s current situation is known and includes no active job; null means the
work history could not be recovered, so nothing is claimed either way. The value is
deliberately cautious — it is designed for risk decisions — so only clearly identified
work counts: in the rare case where an ongoing relation cannot be classified you get
false plus a current_work_type_unknown warning, never an optimistic true.
The person’s current work statuses: one entry per ongoing relation, so repeated values reveal
simultaneous jobs (two employee entries = two concurrent employments). An ongoing benefit
shows as unemployment_benefits. An empty list means nothing ongoing — no job and no benefit.
Contribution-base history grouped per employer account, most recent first. Join each group to
its work relation through the ccc code.
Guaranteed minimum NET income derived from the certified contribution bases (the certified gross lower bound travels alongside it). A floor for risk assessment, never a salary estimate.
List of attached supporting documents (e.g. the original TGSS PDF reports this product was extracted from).