Receipt Manager API - Working!
Base URL: https://rm.akanellos.com/api/
✅ API Status: Online
/api/upload-image.php
Description: Upload a receipt image from mobile apps
Parameters:
image (file) - The receipt image file (JPEG, PNG, GIF, WebP, PDF)Example:
curl -X POST -F "image=@receipt.jpg" https://rm.akanellos.com/api/upload-image.php
Response:
{
"success": true,
"message": "Image uploaded successfully",
"data": {
"filename": "receipt_2025-10-22_20-48-06_68f943066301f.png",
"size": 245678,
"type": "image/png"
}
}
/api/list-images.php
Description: Get list of all uploaded images
Example:
curl https://rm.akanellos.com/api/list-images.php
Response:
{
"success": true,
"message": "Images retrieved successfully",
"data": {
"count": 1,
"images": [
{
"filename": "receipt_2025-10-22_20-48-06_68f943066301f.png",
"size": 245678,
"modified": "2025-10-22 20:48:06",
"url": "https://rm.akanellos.com/uploads/receipt_2025-10-22_20-48-06_68f943066301f.png"
}
]
}
}
/api/upload-database.php
Description: Upload updated database from any app
Parameters:
database (file) - The database file (.db, .sqlite, .sqlite3)Note: Automatically creates backup before replacing
Example:
curl -X POST -F "database=@receipts.db" https://rm.akanellos.com/api/upload-database.php
/api/download-database.php
Description: Download the latest database
Get Info Only:
curl https://rm.akanellos.com/api/download-database.php?info=true
Download Database:
curl -O https://rm.akanellos.com/api/download-database.php
Receipt Manager API v1.0 | Created for akanellos.com