Get Purchase Document
ogarniai_get_documentFetch a single purchase document by ID and get its complete details: store, time, amount, tax, currency, payment, items, categories, tags, and duplicates.
Instructions
Get details of a single purchase document by ID.
Returns full document details including store name, purchase time, total amount, tax, currency, payment method, individual items with categories, tags, and duplicate info.
Args:
id (string): Document ID (UUID format)
Returns: JSON object with all document fields including items[] with name, price, quantity, category, subcategory
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": "ogarniai_get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Resource ID (UUID format) |