يظهر لي خطأ [warningMessages] => Array ( [0] => stdClass Object ( [type] => WARNING [code] => BR-KSA-EN16931-11

cac:AccountingCustomerParty

cac:Party

cac:PartyLegalEntity

cbc:RegistrationNameعميل عام</cbc:RegistrationName>

</cac:PartyLegalEntity>

</cac:Party>

</cac:AccountingCustomerParty>

cac:PaymentMeans

cbc:PaymentMeansCode10</cbc:PaymentMeansCode>

cbc:InstructionNotejjjj</cbc:InstructionNote>

</cac:PaymentMeans>

cac:TaxTotal

<cbc:TaxAmount currencyID=“SAR”>260.87</cbc:TaxAmount>

cac:TaxSubtotal

<cbc:TaxableAmount currencyID=“SAR”>1739.13</cbc:TaxableAmount>

<cbc:TaxAmount currencyID=“SAR”>260.87</cbc:TaxAmount>

cac:TaxCategory

<cbc:ID schemeAgencyID=“6” schemeID=“UN/ECE 5305”>S</cbc:ID>

cbc:Percent15.00</cbc:Percent>

cac:TaxScheme

<cbc:ID schemeAgencyID=“6” schemeID=“UN/ECE 5153”>VAT</cbc:ID>

</cac:TaxScheme>

</cac:TaxCategory>

</cac:TaxSubtotal>

</cac:TaxTotal>

cac:TaxTotal

<cbc:TaxAmount currencyID=“SAR”>260.87</cbc:TaxAmount>

</cac:TaxTotal>

cac:LegalMonetaryTotal

<cbc:LineExtensionAmount currencyID=“SAR”>1739.13</cbc:LineExtensionAmount>

<cbc:TaxExclusiveAmount currencyID=“SAR”>1739.13</cbc:TaxExclusiveAmount>

<cbc:TaxInclusiveAmount currencyID=“SAR”>2000.00</cbc:TaxInclusiveAmount>

<cbc:AllowanceTotalAmount currencyID=“SAR”>0.00</cbc:AllowanceTotalAmount>

<cbc:PrepaidAmount currencyID=“SAR”>0</cbc:PrepaidAmount>

<cbc:PayableAmount currencyID=“SAR”>2000.00</cbc:PayableAmount>

</cac:LegalMonetaryTotal>

cac:InvoiceLine

cbc:ID6</cbc:ID>

<cbc:InvoicedQuantity unitCode=“PCE”>10</cbc:InvoicedQuantity>

<cbc:LineExtensionAmount currencyID=“SAR”>1739.13</cbc:LineExtensionAmount>

cac:TaxTotal

<cbc:TaxAmount currencyID=“SAR”>260.87</cbc:TaxAmount>

<cbc:RoundingAmount currencyID=“SAR”>2000.00</cbc:RoundingAmount>

</cac:TaxTotal>

cac:Item

cbc:Nameتجربة2</cbc:Name>

cac:ClassifiedTaxCategory

cbc:IDS</cbc:ID>

cbc:Percent15.00</cbc:Percent>

cac:TaxScheme

cbc:IDVAT</cbc:ID>

</cac:TaxScheme>

</cac:ClassifiedTaxCategory>

</cac:Item>

cac:Price

<cbc:PriceAmount currencyID=“SAR”>173.91</cbc:PriceAmount>

<cbc:BaseQuantity unitCode=“PCE”>10.00</cbc:BaseQuantity>

cac:AllowanceCharge

cbc:ChargeIndicatorfalse</cbc:ChargeIndicator>

cbc:AllowanceChargeReasonخصم خاص للعميل</cbc:AllowanceChargeReason>

<cbc:Amount currencyID=“SAR”>0.00</cbc:Amount>

</cac:AllowanceCharge>

</cac:Price>

</cac:InvoiceLine>

Dear @omni

Thanks for reaching out, Welcome to our community.

The warning you receiving is related to the calculation for
<cbc:LineExtensionAmount currencyID=“SAR”>1739.13</cbc:LineExtensionAmount>

InvoicedQuantity=10
PriceAmount=173.91
You have BaseQuantity=10

So the calculation will be in your case since no discount or charges ((InvoicedQuantity * PriceAmount) / BaseQuantity)

Try to correct the value of LineExtensionAmount to be = 173.91

Our recommendation is to review the XML Implementation will explain all the tags in the warning message.

Please, do not hesitate to reach out for any further support.

Thanks,
Ibrahem Daoud.