Get Invoice Tool
get-invoiceReturns one authorized invoice with bounded customer, job, payment-state, due-date, and line-item fields; payment links, addresses, and internal notes are excluded. Use to get invoice in the connected business. Returns invoice, scope.
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": {
"invoice_id": "<invoice_id>"
},
"name": "get-invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes | Invoice ID returned by search-invoices. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | Authorization scope of this result; data remains restricted to the connected business. | |
| invoice | Yes | Invoice data returned by the authorized safe projection. |