mercury_list_invoice_attachments
Retrieve attachments linked to an invoice, including PDF copies and supporting documents, for archival, audit, or customer sharing. Returns attachment metadata and short-lived download URLs.
Instructions
List attachments associated with an invoice (PDF copies, supporting documents).
USE WHEN: discovering which files were attached to an invoice — for archival, audit, or to share with a customer. The download URL is short-lived; refetch shortly before download.
DO NOT USE: to upload an attachment — this MCP currently exposes only the read side. Mercury's API does support attachment upload (POST /ar/invoices/{id}/attachments); a write tool can be added if needed.
RETURNS: { attachments: [{ id, filename, downloadUrl, ... }] }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoiceId | Yes | Invoice ID |