Charge on price level (BG-29) is not allowed

good day all,

2 days ago we started getting failure statuses for ZATCA Invoices with the error “Charge on price level (BG-29) is not allowed

i suspect there is some issue related to discount on invoiceline level, i will share the Json in order to facilitate finding the solution

Json:

{
“InvoiceReferenceNumber”:“T9-19393”,
“IssueDate”:“2025-06-20T21:21:46.938703Z”,
“InvoiceTypeCode”:388,
“InvoiceType”:2,
“InvoiceTypeTransactions”:null,
“Notes”:null,
“InvoiceCurrencyCode”:682,
“TaxCurrencyCode”:682,
“PurchaseOrderID”:null,
“ContractID”:null,
“InvoiceCounterValue”:182335,
“SellerInfo”:{
“SellerIDs”:{
“CRN”:“1010283131”
},
“Address”:{
“StreetName”:“طريق ابي عبيدة عامر ابن الجراح”,
“AdditionalStreetName”:“حي السلي”,
“BuildingNumber”:2639,
“PlotIdentification”:8057,
“CityName”:" الرياض",
“PostalZone”:14263,
“CountrySubentity”:null,
“CitySubdivisionName”:“حي السلي”,
“CountryIdentificationCode”:“SA”
},
“VATNumber”:310832967900003,
“RegistrationName”:“شركة بلح وعسل للحلويات”
},
“BuyerInfo”:null,
“ActualDeliveryDate”:“2025-06-20T21:21:46.938703Z”,
“LatestDeliveryDate”:“2025-06-20T21:21:46.938703Z”,
“PaymentMeansCode”:48,
“PaymentTerms”:null,
“PayeeFinancialAccount”:null,
“AllowanceCharges”:null,
“InvoiceLines”:[
{
“Name”:"شعبيات قشطة ",
“Quantity”:1.550000000000000000,
“UnitOfMeasure”:null,
“LineExtensionAmount”:33.73,
“AllowanceCharges”:null,
“ItemBuyerIdentifier”:null,
“ItemSellerIdentifier”:null,
“ItemStandardIdentifier”:“a2fc6568-5572-4b99-7033-08ddb012a496”,
“BarcodeSymbologyID”:“027”,
“Price”:{
“PriceAmount”:21.760000000000000000,
“BaseQuantity”:null,
“UnitOfMeasure”:null,
“PriceAllowanceIndicator”:{
“ChargeIndicator”:true,
“Amount”:18.240000000000000000,
“BaseAmount”:40.000000000000000000
}
},
“ClassifiedTaxCategory”:{
“TaxCategoryCode”:0,
“Percent”:15.000000000000000000
},
“DocumentReference”:null
}
],
“InstructionNote”:null,
“BillingReferenceID”:null,
“InvoiceTotalVATAmount”:5.06,
“TaxAmount”:5.06,
“VATExemptionReason”:null,
“TaxSubtotals”:[
{
“TaxableAmount”:33.73,
“TaxAmount”:5.06,
“TaxCategory”:{
“TaxCategoryCode”:0,
“Percent”:15.000000000000000000
}
}
],
“Totals”:{
“LineExtensionAmount”:33.73,
“TaxExclusiveAmount”:33.73,
“TaxInclusiveAmount”:38.79,
“AllowanceTotalAmount”:0.0,
“PrepaidAmount”:0.0,
“PayableAmount”:38.79,
“ChargeTotalAmount”:0.00,
“PayableRoundingAmount”:0.00,
“ZatcaAsl_TaxableAmountDifferent”:0.002000000000000000,
“ZatcaAsl_TaxAmountDifferent”:0.000800000000000000,
“ZatcaAsl_DeservedDifferent”:0.002800000000000000,
“ZatcaTaxableAmount”:33.73,
“ZatcaTaxAmount”:5.06
},
“StoreId”:“1abef900-6824-49b5-30e0-08dcd230d968”,
“PreviousInvoiceHash”:“LoIAkre52kwQ6mfS4R6OsrA1NSTzr2zVDHuLHzF1PcQ=”
}

your help is highly appreciated

Dear @Osaman ,
you have to ensure that the charge indicator under tag <cac:InvoiceLine / cac:Price / cac:AllowanceCharge / cbc:ChargeIdicator> is not “True”.

Dear Ankit
Im facing the same issue actually my invoice has discount and when I put
cac:AllowanceCharge
cbc:ChargeIndicatortrue</cbc:ChargeIndicator>
** <cbc:Amount currencyID=“SAR”>73.80</cbc:Amount>**
** </cac:AllowanceCharge>**

its give me error if I make it false it accept on sandbox I check on sample XML it shows me to make it true.

do I have to make change this and change it to false.

@Jibran for discount the allowance charge indicator must always be “false”.

thanks for quick response