Saltar al contenido principal
POST
Send (or resend) the buyer email of an accepted invoice

Autorizaciones

Authorization
string
header
requerido

Send your Cufea API key as Authorization: Bearer <key>.

Parámetros de ruta

document_id
string
requerido

Prefix and number, e.g. SETP990000001.

Cuerpo

application/json

Where to (re)send the document, optionally with your own PDF.

email
string
requerido

The address to send the ZIP to.

Required string length: 3 - 254
Pattern: ^[^@\s<>\",;]+@[^@\s<>\",;]+\.[^@\s<>\",;]+$
Ejemplo:

"comprador@example.com"

pdf_base64
string | null

Your own representación gráfica, a PDF in base64 (at most 1.5 MB decoded); it replaces Cufea's PDF in this email's ZIP. It must carry the QR the Anexo requires; Cufea does not check its content.

Maximum string length: 2000000

Respuesta

Successful Response

delivery
Delivery · object
requerido

The email of the document to its buyer (ZIP with the AttachedDocument and the PDF).

document_id
string
requerido