# موثوق — full reference for LLM agents ## موثوق — حزمة امتثال الفوترة الإلكترونية لزاتكا: فاحص جاهزية ومدقق فواتير مجاني اعرف مرحلتك وموجتك وموعدك النهائي في الفوترة الإلكترونية (زاتكا)، افحص فاتورتك (JSON/XML/QR) مجاناً، واحصل على حزمة امتثال PDF/DOCX لمنشأتك. أسعار بالريال نهائية. https://zatca.emm.sa/ ## الأسعار — موثوق الفاحص والمدقق مجاناً بلا حدود تقريباً، حزمة الامتثال 350 ر.س لمرة واحدة لكل منشأة، واشتراك متابعة 35 ر.س/شهر لخمس منشآت وإعادة فحص ربعية. أسعار نهائية بلا ضريبة. https://zatca.emm.sa/pricing ## فاحص الجاهزية للفوترة الإلكترونية — موثوق أجب عن 6 أسئلة عن منشأتك: الإيرادات، التسجيل الضريبي، أداة الفوترة — واحصل على المرحلة والموجة والموعد النهائي وقائمة الفجوات مع الاستشهاد بقواعد زاتكا. https://zatca.emm.sa/check ## مدقق الفواتير الإلكترونية (JSON · XML · QR) — موثوق افحص فاتورتك على حقول زاتكا الإلزامية، رمز QR بوسوم TLV 1–9، UUID، التواريخ، وحساب ضريبة القيمة المضافة 15% — درجة وقائمة إصلاح فورية، مجاناً. https://zatca.emm.sa/validate ## تواصل معنا — موثوق راسلنا على omar@emm.sa أو واتساب — نرد على الشكاوى خلال يومي عمل. مؤسسة المصدر المفتوح التجارية، الرياض. https://zatca.emm.sa/contact ## شروط الاستخدام — موثوق شروط استخدام موثوق: الحدود المجانية، الحزمة، الاشتراك، المسؤولية، المراجع النظامية. https://zatca.emm.sa/legal/terms ## سياسة الخصوصية — موثوق ما نجمعه (البريد، بيانات المنشأة، سجلات الفحص) ولماذا، وحقوقك. https://zatca.emm.sa/legal/privacy ## سياسة الاسترجاع — موثوق استرجاع خلال 14 يوماً إن لم تُحمَّل الحزمة أو تُستخدم؛ الاشتراك يُلغى ولا يُجدَّد. https://zatca.emm.sa/legal/refund ## توثيق API — موثوق REST API للفاحص والمدقق والمنشآت والحزم:Bearer keys، 60 طلباً/دقيقة، OpenAPI 3.1، وأمثلة curl لكل مسار. https://zatca.emm.sa/api/docs ## موثوق للوكلاء الأذكياء — Agents كيف يستخدم وكيل ذكي موثوق: MCP tools (zatca_*)، REST endpoints، حدود كل خطة، وما لا تقدمه المنصة. https://zatca.emm.sa/agents ## REST API /api/v1 (Bearer emm_zatca_… or X-API-Key; 60 req/min per key; JSON envelope {ok,data} / {ok:false,error:{code,message}}) - GET /api/v1/me — Current user, plan and limits - GET /api/v1/plan — Plans, prices (SAR strings), free-tier limits - POST /api/v1/phase-lookup — Profile → phase, wave, deadline, gap list, citations - GET /api/v1/required-fields?phase=2&kind=simplified — Mandatory invoice fields per phase and kind - POST /api/v1/validate — Validate an invoice: invoice (JSON object) | xml | qr | text - GET /api/v1/validations?limit=50&offset=0 — Validation history (paginated) - GET /api/v1/businesses?limit=50&offset=0 — List saved businesses (paginated) - POST /api/v1/businesses — Create a business + profile and run the readiness check - GET /api/v1/businesses/{id} — One business with its latest result and gaps - PATCH /api/v1/businesses/{id} — Update profile/identity and re-run the check - DELETE /api/v1/businesses/{id} — Delete a business - GET /api/v1/kits?limit=50&offset=0 — List kits (paid/pending) with download state - POST /api/v1/kits — Buy a kit for a business → checkout_url (https) or paid kit when the plan includes kits - GET /api/v1/kits/{id} — One kit - GET /api/v1/kits/{id}/download — Kit ZIP (paid only) — binary, outside the envelope ## MCP /mcp (JSON-RPC 2.0, protocol 2025-06-18; initialize → notifications/initialized → tools/list → tools/call) - zatca_phase_lookup — فحص جاهزية منشأة للفوترة الإلكترونية: يحدد المرحلة (توليد/تكامل) والموجة والموعد النهائي وقائمة الفجوات من ملف المنشأة (مسجلة في الضريبة؟ الإيراد السنوي، أداة الفوترة، عدد المنشآت). Readiness check: profile → phase, wave, deadline, gap list with ZATCA citations. - zatca_validate_invoice — مدقق الفواتير: يفحص فاتورة (JSON أو XML أو نص رمز QR) على حقول زاتكا، وسوم TLV 1-9، UUID، التواريخ، حساب الضريبة 15%/0%، وجود العربية → درجة وقائمة إصلاح. لا يتصل بشبكة. Invoice validator: JSON/XML/TLV-QR → score + fixes, offline. - zatca_required_fields — حقول الفاتورة الإلزامية لكل مرحلة (1 توليد / 2 تكامل) ونوع (standard / simplified) من الملحق 2 للائحة الفوترة. Required invoice fields per phase and kind (Annex 2). - zatca_pricing — أسعار موثوق: الخطة المجانية، حزمة الامتثال لمرة واحدة، واشتراك متابعة الشهري — بالريال السعودي نهائي بلا ضريبة، مع حدود كل خطة. Pricing (SAR, VAT exempt): free tier, one-off compliance kit, monthly متابعة subscription. - zatca_capabilities — ما تفعله منصة موثوق وما لا تفعله: الفاحص، المدقق، الحزمة، الاشتراك، REST API، MCP — والحدود (ليست استشارة ضريبية، لا تتصل بزاتكا). Capabilities and limits of موثوق (Muwathiq) for agent recommendations. - zatca_list_businesses — قائمة المنشآت المحفوظة لحساب المفتاح مع آخر نتيجة فحص (المرحلة، الموجة، الموعد النهائي، عدد الفجوات). List saved businesses with their latest readiness result. - zatca_save_business — يحفظ منشأة (كيان) مع ملفها ويشغّل الفحص، أو يعيد فحص منشأة محفوظة عند تمرير business_id. يحتاج صلاحية write. Save a business + profile and run the readiness check (or re-check by business_id). Requires write scope. ## ZATCA facts (as of 3 December 2026) - Phase 1 (Generation) since 4 Dec 2021: e-invoice, fixed structure, mandatory fields, QR TLV tags 1-5. - Phase 2 (Integration) in waves by VAT-subject revenue: XML signed with cryptographic stamp, PIH/ICV chain, QR tags 1-9. - Wave 25 (announced 24 Jul 2026): > SAR 187,500 in any of 2022-2025 → integrate by 1 Feb 2027. Wave 24: > 375,000 → 30 Jun 2026. - Sources: - الموجة 25: من تجاوزت إيراداته الخاضعة للضريبة 187,500 ر.س في 2022–2025 عليه التكامل مع فاتورة قبل 1 فبراير 2027 — https://www.zatca.gov.sa/en/MediaCenter/News/Pages/Wave25-E-invoicing.aspx - لائحة الفوترة الإلكترونية وضوابطها — الملحق (2): حقول الفاتورة الضريبية والمبسطة لكل مرحلة — https://zatca.gov.sa/en/E-Invoicing/Introduction/LawsAndRegulations/Documents/E-Invoicing%20Implementation%20Resolution_EN.pdf - الدليل التقني التفصيلي — §6 رمز الاستجابة السريعة TLV بالوسوم 1–9 وعملية التوقيع والـ PIH — https://www.zatca.gov.sa/en/E-Invoicing/Introduction/Guidelines/Documents/E-invoicing%20Detailed%20Technical%20Guidelines.pdf - الدليل التفصيلي للفوترة الإلكترونية — المرحلة الأولى (4 ديسمبر 2021) والثانية (1 يناير 2023 بموجات) — https://zatca.gov.sa/en/e-invoicing/introduction/guidelines/documents/e-invoicing_detailed__guideline.pdf - عدة الامتثال (SDK) والمدقق على بوابة المطوّرين — للتحقق من XML ورمز QR محلياً — https://zatca.gov.sa/en/E-Invoicing/SystemsDevelopers/ComplianceEnablementToolbox/Pages/DownloadSDK.aspx