Skip to content

Proformas (quotes)

A proforma is a non-fiscal quote — it looks like an invoice but is never sent to Hacienda and has no clave. Use it to send a customer a price before the sale, then convert it to a real document when they accept.

Ventana de terminal
POST /v1/proformas
GET /v1/proformas
GET /v1/proformas/:id
PATCH /v1/proformas/:id
DELETE /v1/proformas/:id
PATCH /v1/proformas/:id/status # draft / sent / accepted / rejected / …
GET /v1/proformas/:id/pdf
POST /v1/proformas/:id/convert # → a real invoice draft

Proformas live in their own tables, environment-independent, and never touch the emission pipeline. They don’t consume quota, don’t allocate a consecutivo, and don’t reach ATV. The PDF is clearly a quote, not a comprobante.

convert turns an accepted proforma into an invoice draft — it copies the receiver, lines, taxes, and charges into a new POST /v1/invoices-shaped draft you then submit like any other. This keeps the quote → sale hand-off consistent without re-keying the data.

The /status transitions (draft → sent → accepted / rejected) are for your own sales tracking; they carry no fiscal meaning. Reporting on proformas is available under Reports.