BR-KSA-14: معرّف المشتري يجب أن يستخدم نوعاً مسموحاً

الشرح من فريق ماثل، مبني على نص قواعد الهيئة والشرط اللي ينفّذه SDK 3.4.8 · آخر تحديث

خطأ: الفاتورة تنرفضبشرط، شوف الشرحالحقول: BT-46, BT-46-1

تنطبق على كل cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID (BT-46): يجب أن تكون قيمة @schemeID (BT-46-1) إحدى القيم TIN, CRN, MOM, MLS, 700, SAG, NAT, GCC, IQA, PAS, OTH. الفحص الفعلي يتحقق من النوع فقط؛ أما شرط 'أحرف وأرقام فقط' فيظهر في نص الاختبار المدرج لكنه غير مطبّق.

كيف تحلها

أعطِ معرّف المشتري نوعاً صالحاً، مثل <cac:PartyIdentification><cbc:ID schemeID="NAT">1234567890</cbc:ID></cac:PartyIdentification>، بأحرف وأرقام فقط كما يشترط النص الرسمي.

نص الهيئة الرسمي

[BR-KSA-14]-The buyer identification (BT-46), required only if buyer is not VAT registered, then the buyer identification (BT-46) must be provided with one of the scheme IDs (BT-46-1) (TIN, CRN, MOM, MLS, 700, SAG, NAT, GCC, IQA, PAS, OTH) and must contain only alphanumeric characters. Tax Identification Number "TIN" as schemeID ;Commercial registration number with "CRN" as schemeID ;MOMRAH license with "MOM" as schemeID ;MHRSD license with "MLS" as schemeID ;700 Number with "700" as schemeID ;MISA license with "SAG" as schemeID ;National ID with "NAT" as schemeID ;GCC ID with "GCC" as schemeID ;Iqama Number with "IQA" as schemeID ;Passport ID with "PAS" as schemeID ;Other ID with "OTH" as schemeID. ;In case of multiple commercial registrations, the seller should fill the commercial registration of the branch in respect of which the Tax Invoice is being issued. In case multiple IDs exist then one of the above must be entered following the sequence specified above
المصدر: ZATCA SDK 3.4.8 · ZATCA KSA rules

متى تفشل (الشرط اللي ينفّذه SDK الهيئة)

not( string-length(normalize-space( ./@schemeID)) > 2 and contains('TIN NAT IQA PAS CRN MOM MLS 700 SAG GCC OTH', normalize-space(./@schemeID)))

قواعد قريبة

افحص فاتورتك على قواعد الهيئة

الصق الـ XML وتشوف كل الأخطاء والتحذيرات، والفحص يصير في متصفحك وما ترسل الفاتورة لأي مكان.

افحص فاتورة أو جرّب ماثل