Sign up for Developer (credits) to get your API credentials and start making requests.
Use our upload endpoint to send PDF or image files for processing.
Retrieve extracted data including vendor info, amounts, line items, and more.
All API requests require authentication using API keys. Include your API key in the Authorization header:
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.sortpay.io/v1/invoices
curl -X POST https://api.sortpay.io/v1/invoices/upload \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: multipart/form-data" \
-F "file=@invoice.pdf"
{
"id": "inv_abc123",
"status": "processing",
"fileName": "invoice.pdf",
"uploadedAt": "2024-01-15T10:30:00Z"
}
{
"id": "inv_abc123",
"status": "completed",
"extractedData": {
"vendorName": "Acme Corporation",
"invoiceNumber": "INV-2024-001",
"invoiceDate": "2024-01-15",
"totalAmount": 156750,
"currency": "USD",
"lineItems": [
{
"description": "Professional Services",
"quantity": 10,
"unitPrice": 15000,
"amount": 150000
}
]
}
}
Clean, predictable REST API with standard HTTP methods and status codes.
Enterprise-grade security with rate limiting, authentication, and 99.9% uptime SLA.
Support for PDF, PNG, JPEG files. Export data as JSON or CSV.
AI-powered extraction with results typically available in under 30 seconds.
Plan | Requests per minute | Monthly limit |
---|---|---|
Developer (Credits) | 60 | Credits-based |