Read Invoices and Documents with AIقراءة الفواتير والمستندات بالذكاء الاصطناعي

A hands-on course where you build a workflow that reads supplier invoices from email with AI, in Arabic or English, PDF or photo, checks every number, saves the data in a register, files the document and sends doubtful invoices to a person. Built with n8n, Gemini and Google Sheets.دورة تطبيقية تبني فيها سير عمل يقرأ فواتير المورّدين من البريد بالذكاء الاصطناعي، بالعربية أو الإنجليزية، ملفاً أو صورة، ويفحص كل رقم ويحفظ البيانات في سجل ويؤرشف المستند ويرسل الفواتير المشكوك فيها إلى شخص. مبني باستخدام n8n وGemini وGoogle Sheets.

▶ Try the first lesson free▶ جرّب الدرس الأول مجاناً

7 hours (about one hour a day over a week)7 ساعات (نحو ساعة يومياً على مدى أسبوع)Study timeمدة الدراسة
8Lessonsدروس
15 questions15 سؤالاًFinal exam, pass mark 70%الاختبار النهائي، درجة النجاح 70%
90 days90 يوماًCourse accessمدة الوصول

About this courseعن الدورة

Typing invoices into a spreadsheet is slow, boring and risky: a misread digit or an invoice paid twice costs real money. In this hands-on course you build a system that does the typing and the checking for you, while people keep control of payments.

You follow Al-Rasheed Trading, an example wholesaler in Baghdad that receives about 300 supplier invoices a month. You learn which fields matter and where invoices go wrong, set up an invoice register in Google Sheets with a duplicate key, and label invoice emails in Gmail. In n8n you build the workflow step by step: a Gmail trigger that downloads attachments, a code step that turns each attachment into its own item, and a Gemini step that reads PDFs and phone photos in Arabic and English and returns a fixed JSON shape. A validation step checks required fields, dates, totals, line sums, currency and AI confidence, and never changes an amount. Every file is saved in Drive with a clear name; new, valid invoices are added to the register, and everything else goes to a Review list with the reason and an email to the owner. You finish by measuring accuracy on 20 invoices, adding an error workflow and agreeing a daily review routine. A comparison with Power Automate and AI Builder shows how to build the same design in Microsoft 365.

Every lesson has illustrated step-by-step screens, copy-ready prompts and code, short narrated videos and knowledge checks. Starter files include six sample invoices (Arabic, English, USD, a phone photo, an error and a duplicate), the sheet template, the prompt and both code steps. The course ends with a 15-question final exam.

إدخال الفواتير في جدول عمل بطيء وممل وخطِر: فالرقم المقروء خطأ أو الفاتورة المدفوعة مرتين يكلّفان مالاً حقيقياً. ستبني في هذه الدورة التطبيقية نظاماً يتولى الإدخال والفحص نيابة عنك، مع بقاء الدفع تحت سيطرة الناس.

تتابع شركة «الرشيد التجارية»، وهي شركة جملة مثال في بغداد تستلم نحو 300 فاتورة مورّدين شهرياً. تتعلم الحقول المهمة وأين تقع أخطاء الفواتير، وتُعدّ سجلاً للفواتير في Google Sheets مع مفتاح لكشف التكرار، وتصنّف رسائل الفواتير في Gmail. ثم تبني سير العمل في n8n خطوة بخطوة: مُشغِّل Gmail ينزّل المرفقات، وخطوة شيفرة تجعل كل مرفق عنصراً مستقلاً، وخطوة Gemini تقرأ ملفات PDF وصور الهاتف بالعربية والإنجليزية وتعيد شكل JSON ثابتاً. وتفحص خطوة التحقق الحقول الإلزامية والتواريخ والمجاميع ومجموع البنود والعملة وثقة الذكاء الاصطناعي، ولا تغيّر أي مبلغ أبداً. ويُحفظ كل ملف في Drive باسم واضح، وتُضاف الفواتير الجديدة السليمة إلى السجل، ويذهب كل ما سواها إلى قائمة مراجعة مع السبب وبريد إلى المسؤول. وتختم بقياس الدقة على 20 فاتورة وإضافة سير عمل للأخطاء والاتفاق على روتين مراجعة يومي. وتبيّن مقارنة مع Power Automate وAI Builder كيف تبني التصميم نفسه في Microsoft 365.

في كل درس شاشات توضيحية خطوة بخطوة، وتعليمات وشيفرات جاهزة للنسخ، وفيديوهات قصيرة مع تعليق صوتي، وأسئلة للتحقق من الفهم. وتشمل ملفات البداية ست فواتير نموذجية (عربية وإنجليزية وبالدولار وصورة هاتف وفاتورة فيها خطأ وأخرى مكررة) وقالب الجدول والتعليمة وخطوتي الشيفرة، وتنتهي الدورة باختبار نهائي من 15 سؤالاً.

Who it's forالفئة المستهدفة

Accountants, accounts payable staff, office managers and anyone who processes invoices or similar documents. No programming is needed: all code is provided and explained. Completing an n8n course first (such as H-1) helps. You need an n8n workspace, a Gemini API key and a Google account.

المحاسبون وموظفو الحسابات الدائنة ومديرو المكاتب وكل من يعالج الفواتير أو المستندات المشابهة. لا تحتاج إلى البرمجة، فكل الشيفرات جاهزة ومشروحة، ويفيدك إنهاء دورة في n8n أولاً (مثل H-1). تحتاج إلى مساحة n8n ومفتاح Gemini API وحساب Google.

What you'll gainما ستكتسبه

  • Identify the invoice fields that matter and where they go wrong
  • Set up an invoice register with a duplicate key
  • Trigger a workflow from labelled Gmail messages with attachments
  • Split multiple attachments into separate items
  • Read PDFs and photos in Arabic and English with Gemini into fixed JSON
  • Write extraction prompts that never guess missing values
  • Validate dates, totals, line sums, currency and confidence
  • File every document in Drive with a clear name
  • Route doubtful invoices to a review list with the reason
  • Measure accuracy, add error alerts and run it safely
  • Receive a certificate on passing the final exam
  • تحديد حقول الفاتورة المهمة وأين تقع أخطاؤها
  • إعداد سجل فواتير مع مفتاح لكشف التكرار
  • تشغيل سير عمل من رسائل Gmail المصنفة ذات المرفقات
  • فصل المرفقات المتعددة إلى عناصر مستقلة
  • قراءة ملفات PDF والصور بالعربية والإنجليزية باستخدام Gemini إلى JSON ثابت
  • كتابة تعليمات استخراج لا تخمّن القيم الناقصة
  • فحص التواريخ والمجاميع ومجموع البنود والعملة والثقة
  • أرشفة كل مستند في Drive باسم واضح
  • توجيه الفواتير المشكوك فيها إلى قائمة مراجعة مع السبب
  • قياس الدقة وإضافة تنبيهات الأخطاء والتشغيل بأمان
  • الحصول على شهادة عند اجتياز الاختبار النهائي

Course outlineمحتوى الدورة

  1. Your project and the rulesمشروعك والقواعد Free previewمعاينة مجانية3 screens3 شاشات
  2. Know your invoicesاعرف فواتيرك4 screens4 شاشات
  3. The register and the Gmail labelالسجل وتصنيف Gmail3 screens3 شاشات
  4. Trigger and split attachmentsالمُشغِّل وفصل المرفقات4 screens4 شاشات
  5. Read invoices with Geminiقراءة الفواتير بـGemini5 screens5 شاشات
  6. Check every invoiceافحص كل فاتورة4 screens4 شاشات
  7. Save, file and routeالحفظ والأرشفة والتوجيه5 screens5 شاشات
  8. Test accuracy and go liveاختبار الدقة والإطلاق4 screens4 شاشات

Course materialsمواد الدورة

  • 1 supporting document to download, for enrolled studentsوثائق داعمة للتنزيل للمتدربين المسجلين: 1
  • The full course as a PDF for offline studyالدورة كاملة بصيغة PDF للدراسة دون اتصال

How it worksكيف تعمل الدورة

  1. Pay by SuperQi, FIB or Zain Cash and upload your receipt below.ادفع عبر سوبر كي أو FIB أو زين كاش وارفع الإيصال أدناه.
  2. We verify the payment and email your login details.نتحقق من الدفع ونرسل لك بيانات الدخول بالبريد الإلكتروني.
  3. Study each lesson at your own pace. Your progress is saved automatically.ادرس كل درس وفق وتيرتك، ويُحفظ تقدمك تلقائياً.
  4. When every lesson is complete, the final exam unlocks.عند إكمال جميع الدروس يُفتح الاختبار النهائي.
  5. Prefer to study offline? Download the course PDF. When you confirm you've studied it, the exam unlocks.تفضّل الدراسة دون اتصال؟ نزّل الدورة بصيغة PDF، وعندما تؤكد أنك درستها يُفتح الاختبار.
  6. Pass the exam and we issue your certificate.اجتز الاختبار وسنصدر لك الشهادة.