Get Invoice
get_invoiceOne invoice, quote or credit note as its page shows it: customer, store, the sales order it bills (or, for a quote, the order it was converted into), dates, totals, every line with quantity, price, discount and tax, and the payments recorded against it. nextStep says what the invoicing tools can do with it now.
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": {
"invoiceId": "<invoiceId>"
},
"name": "get_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clientId | No | Optional client id (GUID) for operator (unpinned) credentials on 3PL tenants. | |
| invoiceId | Yes | Document id (GUID) or number from list_invoices. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| dueAt | No | ||
| lines | No | ||
| number | No | ||
| paidAt | No | ||
| status | No | ||
| storeId | No | ||
| currency | No | ||
| nextStep | No | ||
| payments | No | ||
| subtotal | No | ||
| invoiceId | No | ||
| storeName | No | ||
| taxAmount | No | ||
| customerId | No | ||
| invoiceDate | No | ||
| totalAmount | No | ||
| customerName | No | ||
| documentKind | No | ||
| internalNote | No | ||
| paymentTerms | No | ||
| salesOrderId | No | ||
| paymentMethod | No | ||
| discountAmount | No | ||
| salesOrderNumber | No | ||
| sourceDocumentId | No | ||
| sourceDocumentNumber | No | ||
| convertedSalesOrderId | No | ||
| convertedSalesOrderNumber | No |