Receipt Extraction API
Extract structured data from receipts in any format, layout, merchant, country, or language. Supports printed, digital, scanned, and photographed receipts across retail, grocery, restaurant, fuel, hotel, and e-commerce formats. Supported MIME types: application/pdf, image/jpeg, image/png, image/webp
Extract structured data from receipts in any format, layout, merchant, country, or language. Supports printed, digital, scanned, and photographed receipts across retail, grocery, restaurant, fuel, hotel, and e-commerce formats.
Supported MIME types: application/pdf, image/jpeg, image/png, image/webp
Authorization
bearerAuth Provide your Cryvis API key as a Bearer token.
In: header
Request Body
multipart/form-data
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/documents/receipt" \ -F file="[ \"string\" ]"{ "success": true, "data": { "receipt_number": "RCT-2024-00891", "transaction_date": "2024-06-15", "transaction_time": "14:32:05", "merchant": { "name": "Fresh Mart Grocery", "address": "42 Market Street, London, EC1A 1BB, UK", "phone": "+44 20 7946 0958", "email": "receipts@freshmart.com", "website": "https://freshmart.com", "tax_id": "GB123456789", "registration_number": "12345678" }, "customer": { "name": null, "email": null, "phone": null }, "location": { "store_name": "Fresh Mart - Downtown", "store_id": "STORE-042", "address": "42 Market Street, London" }, "payment": { "method": "credit_card", "card_type": "Visa", "card_last_four": "4242", "transaction_id": "TXN-88442211", "authorization_code": "A12345" }, "currency": "GBP", "line_items": [ { "description": "Organic Bananas", "sku": "PROD-00123", "quantity": 2, "unit": "kg", "unit_price": 1.99, "discount": null, "tax_rate": 8, "tax_amount": 0.32, "amount": 3.98 }, { "description": "Whole Milk 1L", "sku": "PROD-00456", "quantity": 1, "unit": "ea", "unit_price": 1.45, "discount": 0.15, "tax_rate": 8, "tax_amount": 0.1, "amount": 1.3 } ], "subtotal": 5.28, "discount_total": 0.15, "tax_total": 0.42, "service_charge": null, "tip": null, "shipping": null, "other_charges": null, "total_amount": 5.55, "amount_paid": 5.55, "change_given": 0, "order_number": "ORD-77821", "invoice_number": null, "receipt_type": "grocery", "notes": "Thank you for shopping with us!" }, "meta": { "document_type": "receipt", "request_id": "req_example", "raw_text": "### File: file\n\nFresh Mart Grocery ...", "validation": { "is_valid": true, "warnings": [], "confidence": 0.91 } }}