BR-KSA-75: سطر الدفعة المقدمة يتطلب المبالغ والفئة والنسبة الضريبية

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

تحذير: الفاتورة تنقبل مع تحذيربشرط، شوف الشرحالحقول: KSA-30, KSA-31, KSA-32, KSA-33, KSA-34

في الفاتورة التي يكون فيها cac:LegalMonetaryTotal/cbc:PrepaidAmount أكبر من صفر، يجب أن يحتوي كل سطر فيه cac:DocumentReference على cac:TaxTotal/cac:TaxSubtotal يضم cbc:TaxableAmount (KSA-31) و cbc:TaxAmount (KSA-32) و cac:TaxCategory/cbc:ID (KSA-33) و cac:TaxCategory/cbc:Percent (KSA-34). يعتمد الفحص الفعلي على وجود cac:DocumentReference في السطر، وليس على رمز نوع المستند (KSA-30) تحديدًا.

كيف تحلها

في كل سطر دفعة مقدمة، أضف cac:TaxTotal يحتوي على cac:TaxSubtotal فيه cbc:TaxableAmount و cbc:TaxAmount و cac:TaxCategory يضم cbc:ID و cbc:Percent حسب فئة ضريبة فاتورة الدفعة المقدمة.

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

[BR-KSA-75]-If Prepayment Document Type code (KSA-30) is provided in an Invoice Line, then the following data is mandatory to provide in that invoice line - Prepayment VAT category Taxable Amount (KSA-31) - Sum total of taxable amounts subject to specific VAT Category code of the prepayment invoice(s); Prepayment VAT Category Tax Amount (KSA-32) - Sum total of tax amounts subject to specific VAT Category code of the prepayment invoice(s); Prepayment VAT category code (KSA-33) - the VAT category code of the associated Prepayment invoice(s); Prepayment VAT rate (KSA-34) - VAT rate of the specific VAT Category code of the prepayment invoice(s)
المصدر: ZATCA SDK 3.4.8 · ZATCA KSA rules

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

not( exists(../cac:TaxTotal/cac:TaxSubtotal/cbc:TaxAmount) and exists(../cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:Percent) and exists(../cac:TaxTotal/cac:TaxSubtotal/cbc:TaxableAmount) and exists(../cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:ID))

قواعد قريبة

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

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

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