Install
openclaw skills install @voronindenis5/receipt-raccoonExtracts structured data from receipt text (OCR/photo description) and generates monthly spending reports. Parses merchant, date, line items, tax, total, and category. Produces summary stats: top merchants, category breakdown, total spend.
openclaw skills install @voronindenis5/receipt-raccoonNever manually enter receipt data again. Feed it receipt text and get clean structured data out.
scripts/receipt_parser.py parse --text "..." or pipe via stdin.scripts/receipt_parser.py report --ledger receipts.jsonl to generate summary stats.# From command line argument
python3 scripts/receipt_parser.py parse --text "$(cat receipt.txt)"
# From stdin
cat receipt.txt | python3 scripts/receipt_parser.py parse
# From a file
python3 scripts/receipt_parser.py parse --file receipt.txt
# Parse and append to a ledger
python3 scripts/receipt_parser.py parse --file receipt.txt --append receipts.jsonl
# Summary of all receipts in ledger
python3 scripts/receipt_parser.py report --ledger receipts.jsonl
# Filter by month
python3 scripts/receipt_parser.py report --ledger receipts.jsonl --month 2024-01
# JSON output
python3 scripts/receipt_parser.py report --ledger receipts.jsonl --json
Parsed receipt JSON:
{
"merchant": "WHOLE FOODS MARKET",
"date": "2024-01-15",
"items": [
{"name": "ORGANIC BANANAS", "price": 2.99, "category": "groceries"},
{"name": "ALMOND MILK", "price": 3.49, "category": "groceries"}
],
"subtotal": 6.48,
"tax": 0.52,
"total": 7.00,
"currency": "USD"
}
Report output includes:
Items are categorised using keyword matching against these categories:
| Category | Example keywords |
|---|---|
| Groceries | milk, bread, eggs, vegetable, fruit, meat, cheese |
| Dining | burger, pizza, coffee, restaurant, cafe, taco |
| Electronics | cable, charger, battery, phone, laptop, usb |
| Clothing | shirt, pants, shoes, dress, jacket |
| Health | pharmacy, medicine, vitamin, bandage |
| Household | soap, detergent, paper, cleaning |
| Transport | gas, fuel, uber, taxi, parking |
| Entertainment | movie, ticket, game, concert |
| Other | (fallback) |
scripts/receipt_parser.py — main parser and report generatorreferences/categories.md — full category keyword referencereferences/receipt_formats.md — notes on supported receipt formats