Email an invoice or proforma
smartbill_send_documentDestructive
Send an issued invoice or proforma by email from SmartBill. This EMAILS A THIRD PARTY and cannot be recalled. Without to it goes to the client's email on the document; without subject/body_text the account's email template is used. Confirm the recipient with the user first. POST /document/send.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC addresses, comma separated. | |
| to | No | Recipient (default: the client's email on the document). | |
| bcc | No | BCC addresses, comma separated. | |
| type | Yes | factura = invoice, proforma = proforma. | |
| number | Yes | Document number as text, e.g. "0025" (keep leading zeros). | |
| subject | No | Email subject, plain text (default: the account template). | |
| body_text | No | Email body, plain text (default: the account template). | |
| series_name | Yes | Document series name exactly as configured in SmartBill Cloud (smartbill_list_series lists them). |