List proformas
const url = 'https://api.emite.cr/v1/proformas?q=PRO-00001&from=2026-01-01&to=2026-12-31&page=1&pageSize=25';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.emite.cr/v1/proformas?q=PRO-00001&from=2026-01-01&to=2026-12-31&page=1&pageSize=25' \ --header 'Authorization: Bearer <token>'Paginated list, newest first. Filter by computed status (includes expired — a sent proforma past its validUntil). Free-text q matches the number and receiver name, and orders the results by number. Rows carry no lines: read one with GET /v1/proformas/{id}.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Example
PRO-00001Free-text search over number and receiver name. With it, results come ordered by number instead of newest first.
Status as of now, including the computed expired (a sent proforma past its validUntil). Repeat the parameter to match several.
Example
2026-01-01Lower bound for createdAt. A bare YYYY-MM-DD is a Costa Rica calendar day (midnight CR = 06:00Z); a full ISO 8601 instant is used verbatim. Inclusive.
Example
2026-12-31Upper bound for createdAt. A bare YYYY-MM-DD covers that whole Costa Rica calendar day (up to, but excluding, midnight CR of the next day). A full ISO 8601 instant is an inclusive cut at that exact instant.
Example
11-indexed page number. Default 1.
Example
25Rows per page. Default 25, max 100.
Responses
Section titled “Responses”object
The proformas on this page: newest first, or by number when the request carries q.
object
Id of the proforma; read the whole quote with GET /v1/proformas/{id}.
Proforma number: PRO- and the company's own sequence, padded to 5 digits.
Status as of now, as in GET /v1/proformas/{id}: expired is a sent proforma whose validUntil has passed.
Instant until which the quote is valid; null for a quote without a deadline.
ISO 4217 currency of the quote.
Total of the quote (totals.totalComprobante), in currency, as a number; null for a proforma without totals.
Customer name: the contact's current name when the quote was made for a contact (receiverPartyId), otherwise the name of the receiver given inline; null for a quote without a receiver.
Id of the contact the quote was made for; null for an inline receiver or none.
Id of the draft invoice created from the proforma; null until it is converted.
When the proforma was created (ISO 8601 instant).
How many proformas match the filters, across all pages.
The page returned (1-based).
Rows per page used for this answer: 25 by default, at most 100.
Example
{ "items": [ { "number": "PRO-00001", "status": "draft", "validUntil": "2026-06-30T23:59:59.000Z", "currency": "CRC", "totalComprobante": 113000, "receiverName": "Comercializadora del Valle S.A." } ], "total": 12, "page": 1, "pageSize": 25}