Get invoice
get_invoiceReturns one invoice by its Paidnice id: number, contact, dates, amounts due and paid, status, and links to the accounting system and the customer payment portal. Use list_invoices to find the id. Read only.
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": {
"organisationId": "<organisationId>",
"id": "<id>"
},
"name": "get_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| organisationId | Yes | Id of the organisation to act on, from list_organisations |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| frozen | Yes | ||
| number | No | ||
| status | Yes | ||
| dueDate | Yes | ||
| currency | Yes | ||
| contactId | Yes | ||
| dueAmount | Yes | ||
| issueDate | Yes | ||
| portalUrl | Yes | ||
| reference | No | ||
| taxAmount | Yes | ||
| paidAmount | Yes | ||
| contactName | No | ||
| totalAmount | Yes | ||
| exchangeRate | Yes | ||
| depositAmount | Yes | ||
| creditedAmount | Yes | ||
| discountAmount | Yes | ||
| lastSyncedDate | No | ||
| sentToCustomer | Yes | ||
| subtotalAmount | Yes | ||
| accountingSystemId | Yes | ||
| accountingSystemOnlineUrl | No | ||
| accountingSystemExchangeRate | No |