List Purchase Documents
ogarniai_list_documentsList receipts and invoices filtered by date range with sorting, returning store name, total, items, categories, and tags for personal finance tracking.
Instructions
List receipts and purchase documents with optional date filters and sorting.
Returns a paginated list of purchase documents (receipts, invoices, email purchases) with store name, total amount, items, categories, and tags.
Args:
from (string, optional): Start date filter (ISO 8601, e.g. "2024-01-01")
to (string, optional): End date filter (ISO 8601, e.g. "2024-12-31")
sortBy (string, optional): Sort field - "purchase_time" (default) or "created_at"
sortDirection (string, optional): Sort order - "desc" (default) or "asc"
Returns: JSON array of purchase documents with fields: id, storeName, purchaseTime, totalAmount, currency, items[], tags[], groupId, hasDuplicates
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date filter (ISO 8601 format, e.g. 2024-12-31) | |
| from | No | Start date filter (ISO 8601 format, e.g. 2024-01-01) | |
| sortBy | No | Field to sort by | purchase_time |
| sortDirection | No | Sort direction | desc |