Hi,
We are uploading a transaction which has line level discount and charges along with base amount and percentage. The error received is
Item net price (BT-146) must equal (Gross price (BT-148) - Allowance amount (BT-147)) when gross price is provided.
The data being sent is
cac:Price
<cbc:PriceAmount currencyID=“SAR”>520000.00</cbc:PriceAmount>
<cbc:BaseQuantity unitCode=“OTH”>1000.000000</cbc:BaseQuantity>
cac:AllowanceCharge
cbc:ChargeIndicatorfalse</cbc:ChargeIndicator>
cbc:MultiplierFactorNumeric8.00</cbc:MultiplierFactorNumeric>
<cbc:Amount currencyID=“SAR”>40000.00</cbc:Amount>
<cbc:BaseAmount currencyID=“SAR”>500000.00</cbc:BaseAmount>
</cac:AllowanceCharge>
cac:AllowanceCharge
cbc:ChargeIndicatortrue</cbc:ChargeIndicator>
cbc:MultiplierFactorNumeric12.00</cbc:MultiplierFactorNumeric>
<cbc:Amount currencyID=“SAR”>60000.00</cbc:Amount>
<cbc:BaseAmount currencyID=“SAR”>500000.00</cbc:BaseAmount>
</cac:AllowanceCharge>
</cac:Price>
If we dont provide the base amount and percentage in the charges section, the xml gets validated but we we provide these values, there is an error. It seems that the charges amount are not considered in the calculation as it is not mentioned in the error message also,
Kindly resolve this error ASAP as our client is already LIVE in Production
I have requested a sample xml with these amounts several times in the past but I have still not received it as part of SDK
Regards
Vivek