Hi Zatca Team,
Is there an option to enter negative values in the invoice line unit price, line total, and line VAT amount in UBL?
One of our customers has requested this functionality as part of a business requirement to deduct amounts from an invoice.
Thanks
idaoud
January 23, 2025, 9:42am
2
Dear @mohan_manakkal
Thanks for reaching out,
It is not allowed to have a unit price as negative value and it is not comply with UBL2.1 standard, However, You can include the deduction amounts in the invoices as discount, add cac:AllowanceCharge tag under the cac:PaymentMeans tag in the XML to ensure comply with the XSD standard the tag should be as follow:
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:AllowanceChargeReasonCode>DISCOUNT</cbc:AllowanceChargeReasonCode>
<cbc:AllowanceChargeReason>Legalisation fee</cbc:AllowanceChargeReason>
<cbc:Amount currencyID="SAR">60.00</cbc:Amount> // the document level discount value
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>15</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:AllowanceCharge>
I hope it is clear enough now, for any further concerns please do not hesitate to reach out our support team via below mail,
SP mail: sp_support@zatca.gov.sa
Thanks,
Ibrahem Daoud.
Embro
January 27, 2025, 11:02am
3
UBL invoice rules not allowing negative figures in XML