GEThttps://api.veriko.mx/v1/finance/ceps

Bulk CEP download (ZIP)

Visibility
public
Auth
API key
Permission
finance.ceps.export
How-to guide →

Delivers every available CEP file in a date range as a single ZIP.

Each validation with a receipt contributes its XML and PDF file (when available), all under the ceps/ directory. The archive carries two manifests with the same content in different formats — manifest.csv and manifest.xlsx: Associating each receipt with its validation, date and tracking key. They serve to reconcile without opening the receipts one by one.

A range with no receipts responds with an HTTP status 404 no_ceps.

Malformed dates, or a to earlier than the from, respond with an HTTP status 400 invalid_range.

Parameters
ParameterInTypeRequiredDescription
from*querystring (date)required

Start date (inclusive, YYYY-MM-DD).

e.g. 2026-04-01
to*querystring (date)required

End date (inclusive, YYYY-MM-DD). Must be ≥ from.

e.g. 2026-04-30
user_idquerystring (uuid)optional

Administrators only — UUID of the user to query.

e.g. f47ac10b-58cc-4372-a567-0e02b2c3d479
Request
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.

Response status codesGET /v1/finance/ceps
StatusClassDescriptionBody
2002xx
ZIP archive containing CEP XML/PDF files and CSV + XLSX manifests.
Body without schema
4004xx
invalid_range: Malformed dates or to < from.
ErrorResponse
4014xx
Authentication is required or the provided credentials are invalid.
ErrorResponse
4034xx
Insufficient permissions. Also email_verification_required: the account's email cannot receive mail and, until it is fixed or verified, only reading the profile, fixing the email, and logging out are allowed.
ErrorResponse
4044xx
no_ceps: No CEPs available in the specified range.
ErrorResponse
4294xx
Rate limit exceeded (rate_limit_exceeded: wait a few seconds).
RetryAfterError
Response headers200
HeaderTypeDescription
Cache-Controlstring
Disables intermediary caching of the download.
Content-Dispositionstring
Suggested filename for the download.
Content-Lengthinteger
Exact size of the ZIP archive in bytes.
Content-Typestring
X-Finance-Itemsinteger
Number of CEPs included in the ZIP archive.
Errors from GET /v1/finance/ceps
StatusCodeExample
400invalid_range

A date in the range is missing or not valid.

Envelope
meta.request_id
a86151ec77e7
400invalid_user_id

The user identifier is not in the expected format.

Envelope
meta.request_id
a1eeb20a614c
401unauthorized

This request requires authentication.

Envelope
meta.request_id
c4d5e6f7a8b99b8a7f6e5d4c
403forbidden

You do not have permission to perform this action.

Envelope
meta.request_id
c49beb9f2405
403permission_denied

You do not have permission to access this resource.

Envelope
meta.request_id
d5e6f7a8b9c00c9b8a7f6e5d
404no_ceps

There are no CEPs between 2026-01-01 and 2026-01-31.

Envelope
meta.request_id
a92038f215cb
429rate_limit_exceeded

You exceeded the request limit.

Envelope
meta.request_id
f7a8b9c0d1e22e1d0c9b8a7f
Response headers
  • Retry-After: integer — Seconds to wait before retrying. Matches the endpoint's rate-limit window (typically 60s for list endpoints, 1-5s for in-flight idempotent operations).
  • X-RateLimit-Limit: integer — Configured request cap for this bucket. It is emitted on every 429 and, on the authenticated API, also on successful responses, where it is the per-key cap of the account plan.
  • X-RateLimit-Remaining: integer — Requests remaining in the current window. Always 0 at the moment of the 429; on a successful response of the authenticated API it is what is left of the per-key cap.
  • X-RateLimit-Reset: integer — Absolute Unix epoch (seconds) when the window resets. Emitted on every 429, alongside Retry-After, and on successful responses of the authenticated API.