Invoices from Saudi Arabia and some Gulf suppliers show dates in the Hijri calendar — for example 15/08/1447 هـ. Spreadsheets and accounting software need Gregorian dates to sort, filter and assign periods. Converting by hand is slow and easy to get wrong by a day or two.
How AlFasil converts
- AlFasil detects Hijri dates from the
هـ/AHmarker, Hijri month names (محرم … ذو الحجة), or a year between 1300 and 1600. - It converts them with the Umm al-Qura calendar — the official calendar in Saudi Arabia — rather than an approximate arithmetic formula, which can be off by a day.
- The Gregorian date goes into the date column (
2026-02-03), and the printed Hijri date is kept in a separate column so nothing is lost.
Numeric and written forms
Both 15/08/1447هـ and 15 شعبان 1447 are recognised, with Arabic-Indic or Latin digits.
Dual-dated invoices
When an invoice prints both calendars, AlFasil uses the Gregorian date as printed and still keeps the Hijri original.