invoices_share_links_create
Create a shareable link for an invoice that lets recipients view it without authentication, returning the share URL, token, and expiry date.
Instructions
Create a new shareable link for an invoice. Returns the share URL, token, and expiry date. The link allows the recipient to view the invoice without authentication.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"uuid": "<uuid>"
},
"name": "invoices_share_links_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Invoice UUID | |
| companyId | No | Company UUID override (uses active company if not set) | |
| expiryDays | No | Number of days until the link expires (default: 30) |