Skip to content

Download a proforma as PDF

GET
/v1/proformas/{id}/pdf
curl --request GET \
--url 'https://api.emite.cr/v1/proformas/example/pdf?disposition=attachment&locale=es' \
--header 'Authorization: Bearer <token>'

Renders the proforma with tenant logo/branding, a "PROFORMA" banner, the proforma number + validity, and a non-fiscal footer (no Hacienda QR, no legal resolution).

id
required
string

Proforma UUID

disposition
string
Allowed values: attachment inline

Content-Disposition: attachment (default) downloads, inline previews in-browser.

locale
string
Allowed values: es en

The PDF, named after the proforma number (PRO-00001.pdf).

Media typeapplication/pdf
string format: binary
Content-Disposition
string

attachment (default) or inline, as disposition asks, with the file name.

Proforma not found or belongs to a different tenant.