hi,
I need help please. I am getting “202-Accepted” with warning message as below:
“warningMessages”: [
{
“status”: “WARNING”,
“type”: “WARNING”,
“code”: “BR-KSA-EN16931-11”,
“category”: “KSA”,
“message”: “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)”
my xml for the invoice lines is as below:
cac:InvoiceLine
** cbc:ID1</cbc:ID>**
** <cbc:InvoicedQuantity unitCode=“PCE”>1.00</cbc:InvoicedQuantity>**
** <cbc:LineExtensionAmount currencyID=“SAR”>2000.00</cbc:LineExtensionAmount>**
** cac:TaxTotal**
** <cbc:TaxAmount currencyID=“SAR”>0.00</cbc:TaxAmount>**
** <cbc:RoundingAmount currencyID=“SAR”>2000.00</cbc:RoundingAmount>**
** </cac:TaxTotal>**
** cac:Item**
** cbc:Namemedical treatement - 30</cbc:Name>**
** cac:ClassifiedTaxCategory**
** cbc:IDZ</cbc:ID>**
** cbc:Percent0.00</cbc:Percent>**
** cac:TaxScheme**
** cbc:IDVAT</cbc:ID>**
** </cac:TaxScheme>**
** </cac:ClassifiedTaxCategory>**
** </cac:Item>**
** cac:Price**
** <cbc:PriceAmount currencyID=“SAR”>6500</cbc:PriceAmount>**
** <cbc:BaseQuantity unitCode=“PCE”>1.00</cbc:BaseQuantity>**
** cac:AllowanceCharge**
** cbc:ChargeIndicatorfalse</cbc:ChargeIndicator>**
** cbc:AllowanceChargeReasonDiscount</cbc:AllowanceChargeReason>**
** <cbc:Amount currencyID=“SAR”>4500</cbc:Amount>**
** </cac:AllowanceCharge>**
** </cac:Price>**
** </cac:InvoiceLine>**