https://api.veriko.mx/v1/finance/cepsBulk CEP download (ZIP)
How-to guide →Delivers every available CEP in a date range as a single ZIP. Each validation with a receipt contributes its XML, and those that also have the signed PDF include it too, under ceps/. The archive carries two manifests with the same content in different formats — manifest.csv and manifest.xlsx — associating each receipt with its validation, its date, and its tracking key. They are there for reconciling without opening the receipts one by one. A range with no receipts responds 404 no_ceps; malformed dates, or a to earlier than the from, respond 400 invalid_range. This endpoint requires the finance:download permission, not finance:generate_self. The distinction is deliberate: the financial reports describe the activity, whereas here the receipts themselves are handed over. For a single receipt there is GET /v1/validations/{id}/cep, and for the month's statement without the files, GET /v1/finance/statement.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
from* | query | string (date) | required | Start date (inclusive, 2026-04-01 |
to* | query | string (date) | required | End date (inclusive, 2026-04-30 |
user_id | query | string (uuid) | optional | Admin-only with f47ac10b-58cc-4372-a567-0e02b2c3d479 |
curl -X GET 'https://api.veriko.mx/v1/finance/ceps' \
-H 'Authorization: Bearer veriko_••••'Python example — coming soon.
JavaScript example — coming soon.
PHP example — coming soon.
| Status | Class | Description | Body |
|---|---|---|---|
| 200 | 2xx | ZIP archive containing CEP XML/PDF files and CSV + XLSX manifests. | No body |
| 400 | 4xx | invalid_range — malformed dates or to < from. | ErrorResponse |
| 401 | 4xx | Authentication is required or the provided credentials are invalid. | ErrorResponse |
| 403 | 4xx | Insufficient permissions. | ErrorResponse |
| 404 | 4xx | no_ceps — no CEPs available in the specified range. | ErrorResponse |
| Header | Type | Description |
|---|---|---|
Cache-Control | string | Disables intermediary caching of the download. |
Content-Disposition | string | Suggested filename for the download. |
Content-Length | integer | Exact size of the ZIP archive in bytes. |
Content-Type | string | |
X-Finance-Items | integer | Number of CEPs included in the ZIP archive. |
| Status | Code | Example |
|---|---|---|
| 401 | unauthorized | Invalid or missing authentication credentials. Envelope
|
| 403 | forbidden | You do not have permission to access this resource. Envelope
|