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. Its reply's destination is every address the email went to: say who received it from that, never a guess.
Input 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. | ||
| message | No | A note shown in the email above the document. | |
| sendcopy | No | Send me a copy: BCC the signed-in user who sends this, and nobody else. Off by default. Only a signed-in person gets a copy; an API, agent or MCP token sends none. | |
| attachpdf | No | Attach the document's own PDF, drawn at send time from the saved document. Off when absent: stub-web sends true by default. If the PDF cannot be drawn, the email goes without it. The view-online link always stays. | |
| attachrebilled | No | Attach the receipt of every expense rebilled on this document's lines. Off by default. Files that do not fit are sent as download links. | |
| attachmentfileids | No | Attach these files: a rebilled receipt's file id (or the expense id for a legacy receipt), or the id of any business file when the sender may read Files. A file in a locked folder never goes. With attachrebilled, adds to the rebilled receipts. At most 20. |