🔌 Generation Endpoint
/api/v1/reportes/generar
Compiles a document according to the requested parameters and returns the binary file (
Blob) for download.🏷️ Headers
The engine detects the client’s preferred language to change it in the generated document.📦 Request Payload (Body)
The endpoint expects a body inapplication/json format validated by the strict rules of the controller:
string
required
Defines the output engine. Allowed values:
csv, pdf.string
Client’s timezone to stamp the issuance date (e.g.,
America/Mexico_City). If null, the server’s timezone is used.object
required
Main payload container.
🚦 Infrastructure Rules
To guarantee service stability, the endpoint is protected by a perimeter middleware:- Rate Limiting (Throttle): A maximum of 10 requests per minute per IP address is allowed. Upon exceeding this threshold, the server will respond with an HTTP
429 Too Many Requestserror.