Skip to main content
Glama

Send document

send_document

Email 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
NameRequiredDescriptionDefault
idYesId of the document (invoice, quote, credit note, etc.) to email (required).
emailNoOverride recipient address; defaults to the document contact's email on file.
receiptfileidsNoWith includereceipts, send only these receipts (file ids, or the expense id for a legacy receipt). Omit for all; an empty list sends none.
includereceiptsNoAttach the receipts of expenses rebilled on this document's lines. Off by default; receipts that do not fit are sent as download links.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / includereceipts
      Added value: +{
      +  "description": "Attach the receipts of expenses rebilled on this document's lines. Off by default; receipts that do not fit are sent as download links.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / receiptfileids
      Added value: +{
      +  "description": "With includereceipts, send only these receipts (file ids, or the expense id for a legacy receipt). Omit for all; an empty list sends none.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / email / description
      Added value: +"Override recipient address; defaults to the document contact's email on file."
    • addedInput schema / properties / id / description
      Added value: +"Id of the document (invoice, quote, credit note, etc.) to email (required)."
  3. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources