Problem in one invoice (generate in our DB but not send to zatca)

Hello everyone,

An invoice was generated with an error, where the quantity was recorded as zero, and it has already been saved in the system. As a result, the XML file was not generated, and the invoice was not submitted to ZATCA.

Kindly advise on the appropriate procedure to correct the quantity error.

You may issue a debt note in accordance with your ERP system. If the invoice has been properly recorded within your ERP system, you can generate an XML file for said invoice, transmit it accurately, and report it accordingly.

The invoice was not submitted to ZATCA in the first place because a division by zero error prevented the XML file from being generated. If I create a debit, it will be sent to ZATCA, which may cause an issue since the original invoice was not reported.

I believe that the obligated party should submit a failure report via the reporting service regarding the omission of invoice reporting within the 24-hour .

Subsequently, an XML file containing the invoice is generated and submitted to the invoice platform.

but we can’t generate xml file because the quantity is zero so we want idea to solve quantity issues