Dear All,
i have issue when trying to add a non-taxable discount to an line which if we have net of 1000 so we will calculate the municipality on this net will be 50 then we will calculate VAT so it will be 157.5 finally the non-taxable discount will be 200
so the final result will be = (1000-200) + 157.5 + 50 = 1007.5
and this small example how i try to send it to ZATCA but it shows those warning
cac:TaxTotal
<cbc:TaxAmount currencyID=“SAR”>555.21</cbc:TaxAmount>
cac:TaxSubtotal
<cbc:TaxableAmount currencyID=“SAR”>3701.40</cbc:TaxableAmount>
<cbc:TaxAmount currencyID=“SAR”>555.21</cbc:TaxAmount>
cac:TaxCategory
cbc:IDS</cbc:ID>
cbc:Percent15.00</cbc:Percent>
cac:TaxScheme
cbc:IDVAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
cac:TaxTotal
<cbc:TaxAmount currencyID=“SAR”>555.21</cbc:TaxAmount>
</cac:TaxTotal>
cac:LegalMonetaryTotal
<cbc:LineExtensionAmount currencyID=“SAR”>2820.12</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID=“SAR”>2820.12</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID=“SAR”>3375.33</cbc:TaxInclusiveAmount>
<cbc:AllowanceTotalAmount currencyID=“SAR”>0.00</cbc:AllowanceTotalAmount>
<cbc:PrepaidAmount currencyID=“SAR”>0</cbc:PrepaidAmount>
<cbc:PayableAmount currencyID=“SAR”>3375.33</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
cac:InvoiceLine
cbc:ID1</cbc:ID>
<cbc:InvoicedQuantity unitCode=“PCE”>1.00</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID=“SAR”>2819.97</cbc:LineExtensionAmount>
cac:AllowanceCharge
cbc:ChargeIndicatortrue</cbc:ChargeIndicator>
cbc:MultiplierFactorNumeric5.00</cbc:MultiplierFactorNumeric>
<cbc:Amount currencyID=“SAR”>176.25</cbc:Amount>
<cbc:BaseAmount currencyID=“SAR”>3525.00</cbc:BaseAmount>
</cac:AllowanceCharge>
cac:TaxTotal
<cbc:TaxAmount currencyID=“SAR”>555.19</cbc:TaxAmount>
<cbc:RoundingAmount currencyID=“SAR”>4256.44</cbc:RoundingAmount>
</cac:TaxTotal>
cac:Item
cbc:NameAccommodation</cbc:Name>
cac:SellersItemIdentification
cbc:ID1001</cbc:ID>
</cac:SellersItemIdentification>
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”>2643.72</cbc:PriceAmount>
<cbc:BaseQuantity unitCode=“PCE”>1.00</cbc:BaseQuantity>
cac:AllowanceCharge
cbc:ChargeIndicatorfalse</cbc:ChargeIndicator>
<cbc:Amount currencyID=“SAR”>881.28</cbc:Amount>
<cbc:BaseAmount currencyID=“SAR”>3525.00</cbc:BaseAmount>
</cac:AllowanceCharge>
</cac:Price>
</cac:InvoiceLine>
cac:InvoiceLine
cbc:ID2</cbc:ID>
<cbc:InvoicedQuantity unitCode=“PCE”>1.00</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID=“SAR”>0.15</cbc:LineExtensionAmount>
cac:TaxTotal
<cbc:TaxAmount currencyID=“SAR”>0.02</cbc:TaxAmount>
<cbc:RoundingAmount currencyID=“SAR”>0.17</cbc:RoundingAmount>
</cac:TaxTotal>
cac:Item
cbc:NameAccommodation - extra 2</cbc:Name>
cac:SellersItemIdentification
cbc:ID1002</cbc:ID>
</cac:SellersItemIdentification>
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”>0.15</cbc:PriceAmount>
<cbc:BaseQuantity unitCode=“PCE”>1.00</cbc:BaseQuantity>
cac:AllowanceCharge
cbc:ChargeIndicatorfalse</cbc:ChargeIndicator>
<cbc:Amount currencyID=“SAR”>0.00</cbc:Amount>
<cbc:BaseAmount currencyID=“SAR”>0.15</cbc:BaseAmount>
</cac:AllowanceCharge>
</cac:Price>
</cac:InvoiceLine>