Expenses
Analyze an expense receipt
Extracts merchant, amount, currency, date, category, and line-item details from a receipt.
post/v1/expenses/ocr
Request
- Base URLhttps://api.paymongo.com
- URLhttps://api.paymongo.com/v1/expenses/ocr
- AuthHTTP basic
Request body multipart/form-data
Example request
{
"expiration": 360
}Response
Receipt analyzed
Example response
{
"approved_count": 1,
"approved_total_amount": 125000,
"data": {
"amount": 125000,
"category": "meals",
"created": "2026-07-15",
"currency": "PHP",
"id": "file_abc123",
"items": [
{
"amount": 125000,
"category": "meals",
"currency": "PHP",
"id": "exi_abc123",
"line_no": 1,
"name": "Team lunch",
"quantity": 1,
"tax_amount": 13393
}
],
"merchant": "Sample Restaurant",
"tax": 13393,
"type": "expense_ocr"
},
"has_more": true,
"pending_count": 1,
"total_amount": 250000
}Changes
No recorded changes to this operation across all 1 revision of this API.