Skip to Content
Social SecurityReportsStatus of a C.C.C.

Status report for a C.C.C.

To test without real effects, send the X-Saltra-Mode: test header: nothing is sent to the authority and the response carries sample data. In production, without the header, the request is real. Details in Environments and test mode.

Parameters

  • regimen (integer) : Scheme, 4 digits. Possible values:

  • ccc (string) : Contribution Account Code, 11 digits.

  • format (string, optional) : Response format. Possible values:

    • pdf (default): the PDF report in data.file (base64).
    • json: in addition to the PDF, data.parsed with the data read from the report: company name, tax ID, status, registration and status dates (YYYY-MM-DD) and RED authorisation. valid is false when the company name, CCC, document and status could not be read.
GET /report-situation-ccc
{ "regimen": "0111", "ccc": "12345678901", "format": "json" }

Response

Respuesta
{ "success": true, "message": "OK", "data": { "file": { "contentType": "application/pdf", "name": "document.pdf", "content": "base64" } } }

With format=json

Respuesta con format=json
{ "success": true, "message": "OK", "data": { "file": { "contentType": "application/pdf", "name": "document.pdf", "content": "base64" }, "parsed": { "valid": true, "razon_social": "EMPRESA DE PRUEBA SL", "regimen": "0111", "ccc": "12345678901", "cif": "B00000000", "situacion_code": "02", "situacion": "ALTA", "fecha_alta": "2026-10-19", "fecha_situacion": "2026-10-19", "autorizacion_red": { "numero": "099999", "estado": "AUTORIZADO", "fecha": "2026-10-19" } } } }
Last updated on