--- title: Invoice OCR API emoji: 📄 colorFrom: blue colorTo: purple sdk: docker app_port: 7860 --- # Invoice OCR API Extract invoice/bill data using PaddleOCR. ## API Endpoints - `GET /api/health` - Health check - `POST /api/extract` - Extract from image file upload - `POST /api/extract-base64` - Extract from base64 image ## Usage ```javascript const formData = new FormData(); formData.append('image', file); const response = await fetch('/api/extract', { method: 'POST', body: formData }); const data = await response.json(); // Returns: { success: true, header: {...}, items: [...] } ```