Tool · Invoices
get_invoice
Get a single invoice by ID, including line items.
Read-onlyIdempotentscope read:invoices
Invoked over the MCP transport with a tools/call request naming this tool.
Authorization #
Requires a valid OAuth 2.1 bearer access_token whose grant includes the read:invoices scope — View your invoices and billing history. The broker resolves the caller from the token and returns only records the account owns.
Parameters #
idintegerRequired
Response #
200 · application/json
invoiceobject
idinteger
invoice_numberstring
statusstring
One of: Unpaid Paid Cancelled Refunded Collections Draft Payment Pending Overdue
totalobject
valuestring
currencystring
due_datestring · null
datestring · null
line_itemsarray<object>
idinteger
descriptionstring
amountobject
typestring
Errors #
| Result | When |
|---|---|
| { "error": "not_found" } | The requested item does not exist, or it belongs to another account. Cross-account IDs are indistinguishable from missing ones by design. |