CompanyInvoiceDelivery

Preview the PDF of a draft invoice

Renders the PDF of a draft invoice on the fly, without storing it and without consuming numbering, so each call reflects the latest changes. The response is application/pdf.

  • Document: shows BORRADOR in place of the invoice number and carries no VeriFactu QR code. The issuer block is taken from the company in the path.
  • Drafts only: an invoice that is not a draft answers 400 — it has a stored PDF, available at GET …/{invoice_id}/pdf.
get/v1/companies/{company_id}/invoices/{invoice_id}/pdf/preview

Request

  • Base URL: https://app.beel.es/api
  • URL: https://app.beel.es/api/v1/companies/{company_id}/invoices/{invoice_id}/pdf/preview
  • Auth: HTTP bearer

Response

PDF preview generated successfully

Changes

No recorded changes to this operation across all 1 revision of this API.