receipts_email
Send a receipt PDF to a customer via email with optional subject, body, CC, and BCC; only registered client addresses are accepted.
Instructions
Send a receipt (bon fiscal) to a customer via email with the PDF attached. Supports custom subject, body, CC, and BCC recipients. Recipients (to, cc, bcc) must be client emails registered on the company; other addresses are rejected with EMAIL_RECIPIENT_NOT_CLIENT.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"uuid": "<uuid>",
"to": "<to>"
},
"name": "receipts_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC email addresses | |
| to | Yes | Recipient email address | |
| bcc | No | BCC email addresses | |
| body | No | Email body text (auto-generated if omitted) | |
| uuid | Yes | UUID of the receipt to send | |
| subject | No | Email subject (auto-generated if omitted) | |
| companyId | No | Company UUID (overrides configured default) | |
| templateId | No | UUID of email template to use (category: receipt) |