BillptSendDocumentEmail
Description
Section titled “Description”Sends a tax document by email from Bill.pt. Allows customizing the subject and body of the message.
Configuration
Section titled “Configuration”| Field | Type | Required | Description |
|---|---|---|---|
| credentials_id | credentials | Yes | Bill.pt credential |
| document_id | text | Yes | ID of the document to send |
| text | Yes | Recipient email | |
| subject | text | No | Custom subject |
| message | textarea | No | Custom email body |
Credentials
Section titled “Credentials”This module requires a billpt type credential with the following fields:
- API Token: Bill.pt API access token
Output
Section titled “Output”{ "success": true, "data": { ... }, "message": "Documento 789 enviado a cliente@email.com"}POST /documents/{id}/send-email - https://api.bill.pt
Usage Example
Section titled “Usage Example”{ "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
Related Nodes
Section titled “Related Nodes”- BillptGetDocuments - Get documents
- BillptCreateDocument - Create tax document
- BillptCreateReceipt - Create receipt