Amounts in Arabic words
Type an amount, pick the currency, get the words as they go on an invoice or a cheque, with the grammar right. Free, no signup.
The grammar it follows
The counted noun takes its form from the number just before it:
- 1 and 2: the noun, then agreement: درهم واحد، درهمان
- 3 to 10: the number takes the opposite gender and the noun is plural: ثلاثة دراهم، ثلاث هللات
- 11 to 99: the noun is singular and accusative: أحد عشر درهمًا، إحدى عشرة هللةً
- Hundreds, thousands and millions: the noun is singular: مائة درهم، ألف درهم; two hundred and two thousand drop their nun before it: مائتا درهم، ألفا درهم
- A number ending in 1 or 2 inside a larger one is written the accounting way, مائة وواحد درهم; the grammar books do not agree on a single form for it.
As an API
POST /v1/tafqit with {"amount":"1407.50","currency":"AED"}. It is also printed on every invoice from the invoice endpoint.
curl -X POST https://api.tanqeet.smeepo.com/v1/tafqit \
-H "Authorization: Bearer $TANQEET_KEY" -H "Content-Type: application/json" \
-d '{"amount":"1407.50","currency":"AED"}'
{"words":"فقط ألف وأربعمائة وسبعة دراهم إماراتية وخمسون فلسًا لا غير","currency":"AED"}