BR-KSA-EN16931-11 ISSUE

Dear All,

I am experiencing an issue with my XML and would appreciate your assistance in resolving it.

The error message is as follows:

BR-KSA-EN16931-11 : Invoice line net amount (BT-131) must equal (Invoiced quantity (BT-129) * (Item net price (BT-146) / item price base quantity (BT-149))) + Sum of invoice line charge amount (BT-141) - Sum of invoice line allowance amount (BT-136)

I have included the relevant part of my invoice below for your reference
Note there is an discount 6,882.96 SAR

</cac:PaymentMeans>
cac:TaxTotal
<cbc:TaxAmount currencyID=“SAR”>4129.78</cbc:TaxAmount>
cac:TaxSubtotal
<cbc:TaxableAmount currencyID=“SAR”>27531.84</cbc:TaxableAmount>
<cbc:TaxAmount currencyID=“SAR”>4129.78</cbc:TaxAmount>
cbc:Percent15.0</cbc:Percent>
cac:TaxCategory
cbc:IDS</cbc:ID>
cbc:Percent15.0</cbc:Percent>
cac:TaxScheme
cbc:IDVAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
cac:TaxTotal
<cbc:TaxAmount currencyID=“SAR”>4129.78</cbc:TaxAmount>
</cac:TaxTotal>
cac:LegalMonetaryTotal
<cbc:LineExtensionAmount currencyID=“SAR”>27531.84</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID=“SAR”>27531.84</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID=“SAR”>31661.62</cbc:TaxInclusiveAmount>
<cbc:AllowanceTotalAmount currencyID=“SAR”>0.00</cbc:AllowanceTotalAmount>
<cbc:PrepaidAmount currencyID=“SAR”>0.00</cbc:PrepaidAmount>
<cbc:PayableAmount currencyID=“SAR”>31661.62</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
cac:InvoiceLine
cbc:ID1</cbc:ID>
<cbc:InvoicedQuantity unitCode=“C62”>1.0</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID=“SAR”>27531.84</cbc:LineExtensionAmount>
cac:TaxTotal
<cbc:TaxAmount currencyID=“SAR”>4129.78</cbc:TaxAmount>
<cbc:RoundingAmount currencyID=“SAR”>31661.62</cbc:RoundingAmount>
</cac:TaxTotal>
cac:Item
cbc:DescriptionKTO: TL2310 LAB TURBIDIMETER, ISO, EU, 0-1000 NTU </cbc:Description>
cbc:NameKTO: TL2310 LAB TURBIDIMETER, ISO, EU, 0-1000 NTU </cbc:Name>
cac:ClassifiedTaxCategory
cbc:IDS</cbc:ID>
cbc:Percent15.0</cbc:Percent>
cac:TaxScheme
cbc:IDVAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
cac:Price
<cbc:PriceAmount currencyID=“SAR”>34414.8</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>

Dear @AmeeraAbdullah

Thanks for reaching out,

To provide comprehensive support as usual, can I kindly ask you to elaborate with the below:

  • Does the discount on the document level or the Item level?
  • Kindly provide a full sample, this will help us in our investigation.

Thanks,
Ibrahem Daoud.