CERTIFIC@2
Certific@2 detail

Certific@2 detail

Returns a CERTIFIC@2 already filed with the SEPE as JSON, without the PDF. It is the same lookup as Duplicate of CERTIFIC@2 but data only: useful to load the certificate into your system without downloading or parsing the document.

The SEPE does not return the original XML that was sent. This data comes from the certificate's query screen, split into the same blocks as the Certific@2 XML (company, worker, contributions, holidays).

Parameters

  • dni (string) : National identity document.
  • startDate (date) : Deregistration or contract end date (the certificate's suspension date), format YYYY-MM-DD.
  • ccc (integer) : Contribution account code, 11 digits. Optional; picks the certificate when the worker has several on the same date under different accounts.
GET /certifica/detail
{
  "dni": "99999999T",
  "startDate": "2026-07-31",
  "ccc": "28199969999"
}

Response

Dates as YYYY-MM-DD; amounts as numbers; fields the SEPE leaves empty come back as null.

  • general: entry date, origin (e.g. Fichero XML), file number and recognition date.
  • attachments: documents attached to the certificate at the SEPE.
  • representative: company representative who signed the certificate.
  • enterprise: CIF, regime, CCC (province + sequential, without check digits), company name, address and CNAE.
  • employee: worker and contract data: contribution group, contract type, CNO, registration date, suspension/termination cause and dates, ERE, childcare and processing salaries.
  • contributions: one entry per month with contributed days and common-contingency and unemployment bases.
  • holidays: paid annual leave not taken.
  • totals: totals of the contributions table.
  • dates_susp (only when there are several certificates): suspension dates seen in the SEPE listing.
Respuesta
{
  "success": true,
  "message": "OK",
  "status": 200,
  "data": {
    "general": {
      "entry_date": "2026-07-31",
      "origin": "Fichero XML",
      "file_number": null,
      "recognition_date": null
    },
    "attachments": [
      { "name": "123456789.pdf", "date": "2026-07-31", "source": "Fichero XML" }
    ],
    "representative": {
      "name": "NOMBRE", "surname": "PRIMER APELLIDO", "last_surname": "SEGUNDO APELLIDO",
      "nif": "99999999T", "position": null, "email": null, "phone": null
    },
    "enterprise": {
      "cif": "B99999999",
      "regimen": "0111",
      "regimen_name": "RÉGIMEN GENERAL",
      "ccc": "281999699",
      "name": "NOMBRE EMPRESA",
      "address": "CALLE FALSA 123",
      "postal_code": "28001",
      "city": "Madrid",
      "province": "MADRID",
      "cnae": "62",
      "cnae_name": "PROGRAMACIÓN, CONSULTORÍA Y OTRAS ACTIVIDADES RELACIONADAS CON LA INFORMÁTICA"
    },
    "employee": {
      "name": "NOMBRE", "surname": "PRIMER APELLIDO", "last_surname": "SEGUNDO APELLIDO",
      "nif": "99999999T",
      "nss": "281234567890",
      "quote_group": "01", "quote_group_name": "DIRECTORES INGENIEROS LIC",
      "contract_type": "100", "contract_type_name": "INDEFINIDO.TIEMPO COMPLETO.ORDINARIO",
      "contract_duration": "278", "contract_duration_unit": "días",
      "cno": "3820", "cno_name": "Programadores informáticos",
      "public_office": null,
      "dedication_percent": null,
      "alta_date": "2025-10-27",
      "suspension_cause": "02",
      "suspension_cause_name": "DESPIDO POR CAUSAS OBJETIVAS. AMORTIZACIÓN POR CAUSAS ECONÓMICAS, TÉCNICAS, ORGANIZATIVAS O DE PRODUCCIÓN",
      "suspension_start_date": "2026-07-31",
      "suspension_end_date": null,
      "ere_number": null, "ere_year": null, "ere_percent": null,
      "children_care_percent": null,
      "processing_salary_start_date": null,
      "processing_salary_end_date": null,
      "processing_salary_days": null
    },
    "contributions": [
      { "year": "2026", "month": "07", "days": 30, "base_cc": 2583.32, "base_unemployment": 2583.32, "observations": null },
      { "year": "2026", "month": "06", "days": 30, "base_cc": 2083.33, "base_unemployment": 2083.33, "observations": null }
    ],
    "holidays": { "days": 0, "base_cc": 0, "base_unemployment": 0 },
    "totals": { "days": 60, "base_cc": 4666.65, "base_unemployment": 4666.65 }
  }
}