papercortex_receipt
Extract vendor, date, currency, totals, tax, and line items from a Paperless receipt or invoice by document ID, returning a labeled report with model confidence for review.
Instructions
Read one receipt or invoice by Paperless document ID. Ollama extracts vendor, date, currency, totals, tax and line items into a labeled text report with model confidence. Missing totals default to 0 and missing currencies to EUR. Check these values against the original. Uses OCR text or a configured vision model and reports an error if extraction fails. Use papercortex_search to find an ID and papercortex_export to produce accounting files.
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": {
"documentId": "<documentId>"
},
"name": "papercortex_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | Positive ID of an existing receipt or invoice readable by the configured Paperless API token. |