Send document
send_documentEmail a document (invoice, quote, credit note, etc.) to its contact. Works on any document id. This actually sends the email — to flag a document as sent without emailing use mark_document_sent, and to log a payment against it use record_document_payment. Find the id yourself with list_documents (query by number or contact); never ask the user for an id.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the document (invoice, quote, credit note, etc.) to email (required). | |
| No | Override recipient address; defaults to the document contact's email on file. | ||
| receiptfileids | No | With includereceipts, send only these receipts (file ids, or the expense id for a legacy receipt). Omit for all; an empty list sends none. | |
| includereceipts | No | Attach the receipts of expenses rebilled on this document's lines. Off by default; receipts that do not fit are sent as download links. |