Install
$ agentstack add skill-moshe-ship-hurmoz-saudi-einvoice ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ● Network access Used
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
الفوترة الإلكترونية — زاتكا (فاتورة)
> تنبيه: استخدم بيانات اختبار فقط. لا تستخدم هويات وطنية حقيقية أو توكنات دفع حية أثناء التجربة. استخدم بيئة الاختبار (sandbox) دائماً. احذف السجلات بعد الانتهاء.
منصة فاتورة الرسمية من هيئة الزكاة والضريبة والجمارك (ZATCA) للفوترة الإلكترونية في المملكة العربية السعودية.
الإعداد
- سجّل في بوابة الاختبار: https://sandbox.zatca.gov.sa
- احصل على شهادة الامتثال (Compliance CSID) من البوابة
- اضبط المتغير:
export ZATCA_API_KEY=your_base64_certificate
المصادقة تتم عبر Basic Auth باستخدام الشهادة المشفرة بـ base64:
Authorization: Basic
الحصول على شهادة الامتثال (Compliance CSID)
curl -s -X POST "https://gw-fatoora.zatca.gov.sa/e-invoicing/core/compliance" \
-H "Content-Type: application/json" \
-H "Accept-Version: V2" \
-H "Authorization: Basic $ZATCA_API_KEY" \
-d '{
"csr": "BASE64_ENCODED_CSR"
}'
إبلاغ فاتورة مبسطة (B2C)
الفواتير المبسطة (أفراد) تُرسل عبر نظام الإبلاغ (Reporting):
curl -s -X POST "https://gw-fatoora.zatca.gov.sa/e-invoicing/core/invoices/reporting/single" \
-H "Content-Type: application/json" \
-H "Accept-Version: V2" \
-H "Accept-Language: ar" \
-H "Authorization: Basic $ZATCA_API_KEY" \
-d '{
"invoiceHash": "INVOICE_HASH",
"uuid": "INVOICE_UUID",
"invoice": "BASE64_ENCODED_XML"
}'
اعتماد فاتورة ضريبية (B2B)
الفواتير الضريبية (شركات) تُرسل عبر نظام الاعتماد (Clearance):
curl -s -X POST "https://gw-fatoora.zatca.gov.sa/e-invoicing/core/invoices/clearance/single" \
-H "Content-Type: application/json" \
-H "Accept-Version: V2" \
-H "Accept-Language: ar" \
-H "Authorization: Basic $ZATCA_API_KEY" \
-d '{
"invoiceHash": "INVOICE_HASH",
"uuid": "INVOICE_UUID",
"invoice": "BASE64_ENCODED_XML"
}'
فحص الامتثال
curl -s -X POST "https://gw-fatoora.zatca.gov.sa/e-invoicing/core/compliance/invoices" \
-H "Content-Type: application/json" \
-H "Accept-Version: V2" \
-H "Accept-Language: ar" \
-H "Authorization: Basic $ZATCA_API_KEY" \
-d '{
"invoiceHash": "INVOICE_HASH",
"uuid": "INVOICE_UUID",
"invoice": "BASE64_ENCODED_XML"
}'
أنواع الفواتير
| النوع | الوصف | الآلية | |-------|-------|--------| | فاتورة مبسطة (B2C) | للأفراد | إبلاغ (Reporting) | | فاتورة ضريبية (B2B) | للشركات | اعتماد (Clearance) | | إشعار دائن | إرجاع/خصم | نفس آلية الفاتورة الأصلية | | إشعار مدين | إضافة مبلغ | نفس آلية الفاتورة الأصلية |
عرض النتيجة
نتيجة الفوترة الإلكترونية:
- الحالة: [مقبولة/مرفوضة/معلّقة]
- رقم الفاتورة: [UUID]
- نوع الفاتورة: [مبسطة/ضريبية]
- حالة الامتثال: [ناجح/فاشل]
- التحذيرات: [قائمة التحذيرات إن وُجدت]
- الأخطاء: [قائمة الأخطاء إن وُجدت]
متى تستخدم
- المستخدم يسأل عن الفوترة الإلكترونية
- يريد إصدار فاتورة عبر زاتكا أو فاتورة
- يسأل عن متطلبات الامتثال للفوترة
- يريد معرفة الفرق بين B2B و B2C
- يسأل "كيف أربط نظامي مع زاتكا؟"
تنبيه
- استخدم بيئة الاختبار (sandbox) أولا قبل الإنتاج
- الفاتورة يجب أن تكون بصيغة XML متوافقة مع UBL 2.1
- يجب تضمين رمز QR في الفواتير المبسطة
- المرحلة الثانية (الربط والتكامل) إلزامية لجميع المنشآت
المراجع
- بوابة الفوترة الإلكترونية: https://zatca.gov.sa/en/E-Invoicing/
- بوابة المطورين: https://sandbox.zatca.gov.sa
- مواصفات الفاتورة: https://zatca.gov.sa/en/E-Invoicing/SystemsDevelopers/
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: Moshe-ship
- Source: Moshe-ship/hurmoz
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.