Get purchase invoice
get_purchase_invoiceRetrieve a purchase invoice by ID with its lines, payments, attachments, and notes. Access full invoice details for accurate bookkeeping.
Instructions
Retrieve one purchase invoice by id, with its lines, payments, attachments and notes.
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": {
"purchase_invoice_id": "<purchase_invoice_id>"
},
"name": "get_purchase_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| administration_id | No | Administration to act on. Defaults to the administration this server was configured with; call list_administrations to discover the available ids. | |
| purchase_invoice_id | Yes |