AT Arab Templates مركز المنتجات الرقمية
حزمة أتمتة · n8n

قارئ الفواتير الضريبيةZATCA Invoice Reader

يستخرج بيانات فاتورة PDF/صورة، يتحقق من الرقم الضريبي ويقيّدها في دفترك.

جاهز للأتمتة ⚡الأكثر طلباً 🔥

n8n محاكاة مباشرة

غيّر الأرقام — كل المؤشرات والخطوات أدناه تُحسب فورًا.

ماذا يفعل المسار

    JSON ملف n8n جاهز للاستيراد

    انسخ الملف أو نزّله، ثم استورده في n8n واستبدل {{الروابط}} بمفاتيحك وروابط أنظمتك.

    {
      "name": "ZATCA Invoice Reader",
      "nodes": [
        {
          "parameters": {
            "mailbox": "invoices"
          },
          "id": "n1",
          "name": "New Email / File",
          "type": "n8n-nodes-base.emailReadImap",
          "typeVersion": 1,
          "position": [
            240,
            300
          ]
        },
        {
          "parameters": {
            "method": "POST",
            "url": "{{OCR_API}}/extract"
          },
          "id": "n2",
          "name": "OCR Extract",
          "type": "n8n-nodes-base.httpRequest",
          "typeVersion": 1,
          "position": [
            460,
            300
          ]
        },
        {
          "parameters": {
            "jsCode": "return items.filter(i => /^3\\d{13}3$/.test(i.json.vat));"
          },
          "id": "n3",
          "name": "Validate VAT Number",
          "type": "n8n-nodes-base.code",
          "typeVersion": 1,
          "position": [
            680,
            300
          ]
        },
        {
          "parameters": {
            "method": "POST",
            "url": "{{ERP_API}}/journal"
          },
          "id": "n4",
          "name": "Ledger Post",
          "type": "n8n-nodes-base.httpRequest",
          "typeVersion": 1,
          "position": [
            900,
            300
          ]
        },
        {
          "parameters": {
            "operation": "append",
            "sheet": "VAT-2026"
          },
          "id": "n5",
          "name": "Monthly Filing Export",
          "type": "n8n-nodes-base.googleSheets",
          "typeVersion": 1,
          "position": [
            1120,
            300
          ]
        }
      ],
      "connections": {
        "New Email / File": {
          "main": [
            [
              {
                "node": "OCR Extract",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "OCR Extract": {
          "main": [
            [
              {
                "node": "Validate VAT Number",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Validate VAT Number": {
          "main": [
            [
              {
                "node": "Ledger Post",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Ledger Post": {
          "main": [
            [
              {
                "node": "Monthly Filing Export",
                "type": "main",
                "index": 0
              }
            ]
          ]
        }
      },
      "settings": {
        "executionOrder": "v1"
      },
      "meta": {
        "generatedBy": "Arab Templates",
        "template": "zatca_invoice_reader"
      }
    }

    التركيب في 4 خطوات

    • 1استورد JSON في n8n (Workflows ← Import from file).
    • 2افتح عقد HTTP والمراسلة وضع مفاتيحك.
    • 3شغّل مرة في وضع الاختبار، ثم فعّل المُشغّل.
    • 4كل تشغيل يُسجّل؛ والمحاكاة على اليمين تستخدم القواعد نفسها.

    الحزمة الكاملة: ملف المسار + دليل التركيب + دعم

    دفعة واحدة وتحديثات مدى الحياة. المحاكاة هنا هي المنطق نفسه داخل المسار.

    بيانات تجريبية فقط — لا يُرسل شيء إلى أي خدمة من هذه الصفحة. استورد JSON في نسختك لربط حساباتك الحقيقية.