Skip to main content
POST
Send (or resend) the buyer email of an accepted invoice

Authorizations

Authorization
string
header
required

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

Path Parameters

document_id
string
required

Prefix and number, e.g. SETP990000001.

Body

application/json

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

email
string
required

The address to send the ZIP to.

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

"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

Response

Successful Response

delivery
Delivery · object
required

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

document_id
string
required