BR-KSA-14: معرّف المشتري يجب أن يستخدم نوعاً مسموحاً
تنطبق على كل 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. الفحص الفعلي يتحقق من النوع فقط؛ أما شرط x27;أحرف وأرقام فقطx27; فيظهر في نص الاختبار المدرج لكنه غير مطبّق.
كيف تحلها
أعطِ معرّف المشتري نوعاً صالحاً، مثل <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)))
قواعد قريبة
- BR-KSA-49 · إعفاء EDU/HEA يتطلب هوية المشتري الوطنية (BT-46 بنوع NAT)
- BR-KSA-81 · الفاتورة الضريبية دون رقم ضريبي للمشتري تتطلب معرّفًا آخر له
- BR-KSA-F-07 · رقم TIN للمشتري يجب أن يكون 10 أرقام تبدأ بـ 3
- BR-KSA-F-08 · رقم السجل التجاري CRN يجب أن يكون 10 أرقام
- BR-KSA-F-09 · الرقم الموحد 700 يجب أن يكون 10 أرقام تبدأ بـ 7
- BR-KSA-F-10 · رقم الهوية الوطنية NAT للمشتري 10 أرقام تبدأ بـ 1
افحص فاتورتك على قواعد الهيئة
الصق الـ XML وتشوف كل الأخطاء والتحذيرات، والفحص يصير في متصفحك وما ترسل الفاتورة لأي مكان.
افحص فاتورة أو جرّب ماثل