mercury_list_invoice_attachments
Retrieve a list of attachments linked to an invoice, including PDF copies and supporting documents, for archival, audit, or sharing with customers.
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 |