Skip to content

BillptSendDocumentEmail

Sends a tax document by email from Bill.pt. Allows customizing the subject and body of the message.

FieldTypeRequiredDescription
credentials_idcredentialsYesBill.pt credential
document_idtextYesID of the document to send
emailtextYesRecipient email
subjecttextNoCustom subject
messagetextareaNoCustom email body

This module requires a billpt type credential with the following fields:

  • API Token: Bill.pt API access token
{
"success": true,
"data": { ... },
"message": "Documento 789 enviado a cliente@email.com"
}

POST /documents/{id}/send-email - https://api.bill.pt

{
"document_id": "789",
"email": "cliente@empresa.pt",
"subject": "Factura FT 2025/1",
"message": "Adjuntamos la factura correspondiente al mes de enero."
}
  • The document is sent as a PDF attachment in the email
  • If no subject or message is specified, Bill.pt default values are used
  • The document must exist and be in a valid state to be sent