get_supplier_document
Get a single supplier document by ID, including its line items (positions) and payments. Use this to read a supplier invoice's positions before copying them to another document type (e.g. converting a supplier invoice to a supplier fiscal receipt). Valid document_type values: supplier_invoice (default), supplier_order, supplier_proforma_invoice, supplier_fiscal_receipt, simplified_supplier_invoice.
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": {
"id": "<id>"
},
"name": "get_supplier_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Supplier document ID | |
| document_type | No | Document type (default: supplier_invoice) |