Hi we have designed a Prepayment (Balance Invoice) XML as per ZATCA XML Specifications. As per the screenshot attached below of our XML :
- Invoice amount is 100
- Tax Amount is 15-
- Total before Prepayment Adjustment is 115-
- Advance Payment is 11.5 (10 Amount and 1.5 Advance)
- Payable Amount is 103.5
This is validated by SDK and Validator Tool. However, the QR Code shows amounts without considering the Prepayment. QR Code shows Total 115 and VAT 15, not the Payable Amount (103.5). Is this normal for the QR Code ? Our Business Users are insisting that QR code should show amount net of Prepayments. But any Deviation from below XML results in Validation Failure. Or is there any other way to pass amounts after Prepayment Deduction to QR code ? The screenshot of our Tax Total section of XML (validated by SDK) is below:
@Umairsh This issue is resolved now. Kindly re-validate using the SDK release 3.3.1 or higher.
Tag 4 in QR Code should read the value from the amount due for payment (BT-115) if there is any adjustment towards pre-paid amount (BT-113) or rounding amount (BT-114).
1 Like
According to this statement, the invoice amount in the QR code is expected to match the invoice value after deducting the prepayment. However, this is not happening, despite the prepayment amount being correctly included in the XML.
@Mreda100 you need to make sure that the tag 4 of QR Code is taking the value from the field BT-115 (Amount due for payment). If you use ZATCA’s SDK to generate QR Code, the tag 4 (Invoice total amount incl VAT) will be net of advance payment adjustment.
The invoice has been successfully submitted to ZATCA, but the QR code and the output received from ZATCA show an amount that does not reflect the deduction of the prepayment, even though it is correctly recorded in the XML.
@Mreda100 can you share the QR Code here? If invoice is cleared by ZATCA, QR Code will display amount net of advance payment adjustment.
@Mreda100 only two possibilities exist, either this is not from a Cleared invoice or there is bug on ZATCA’s side. Please send the Cleared XML on sp_support@zatca.gov.sa or E-invoicing@zatca.gov.sa
We have submitted the XML file as requested for your review and further analysis