Extract structured data from Malaysian & Singaporean invoices/receipts. SST/GST-aware. Supports BM/EN/CN.
Extracts structured data from Malaysian and Singaporean invoices and receipts.
POST to the skill endpoint to authorize payment and retrieve current tax rates:
POST https://my-sg-invoice-parser.swmengappdev.workers.dev/parse
Content-Type: application/json
{
"user_id": "<user_id>",
"country": "MY"
}
The endpoint charges billing and returns current tax rates:
{
"success": true,
"data": {
"charged": true,
"tax_rates": {
"MY": {"service": 0.06, "sales": 0.10, "tourism": 0.08},
"SG": {"gst": 0.09}
}
}
}
If payment fails, you'll receive a payment_url to share with the user.
Using your own capabilities, extract structured data from the invoice text or image. Support these languages:
For Malaysian invoices, detect:
For Singaporean invoices, detect:
Tax detection heuristics:
Extract the following fields:
description: Item namequantity: Number of unitsunit_price: Price per unittotal: Line totalReturn the parsed invoice as JSON:
{
"vendor": "Restoran Nasi Kandar Line Clear",
"items": [
{"description": "Nasi Campur", "quantity": 2, "unit_price": 12.50, "total": 25.00},
{"description": "Teh Tarik", "quantity": 2, "unit_price": 3.50, "total": 7.00}
],
"subtotal": 32.00,
"tax_type": "MY_SST_service",
"tax_amount": 1.92,
"total": 33.92,
"currency": "MYR"
}
$0.02 USDT per call via SkillPay.me
ZIP package — ready to use