One of my customers got an email from Zatca that some of his invoices are rejected as it passed 24 hours until he reports . I have 2 questions
1- is there any call back from zatca to know which invoices are rejected and accepted ?
2- how to resend or how to handle this case ?
Thanks
could anyone please provide any help ?
Dear @Ziad ,
Thank you for reaching out.
Below are the answers to your questions:
- Is there a callback from ZATCA to check invoice status?
• No, ZATCA does not provide a callback service for rejected or accepted invoices. Instead, the API gateway should provide a response with detailed error code reasons for any rejected invoices. These error messages are essential for identifying and correcting issues.
- How to resend or handle this case?
• Follow these steps to handle rejected invoices:
a) Review the rejection details provided in the error response. Common errors include incorrect mandatory fields, missing data, or formatting issues.
b) Correct the issues identified in the rejected invoices.
c) Resubmit the corrected invoices using a new UUID, ICV and invoice hash as required by the error type.
d) It is suggested to Test and validate the resubmission through simulation environment to ensure compliance before sending it to production.
If further clarification is needed, please don’t hesitate to reach out.
Best regards,
Lina
Thanks @Lina-alrehaili1 for your reply.
the problem that i get success response and “REPORTED” status but my customer got an email that invoices rejected because he submit it after 24 hours so what is the solution for this specific case
Dear Ziad,
Thank you for your follow-up.
Allow me to clarify the issue regarding the “REPORTED” status and invoices being rejected due to submission after 24 hours:
-
“REPORTED” status in the system indicates that the invoice has been successfully transmitted to ZATCA’s platform. However, it does not guarantee compliance. ZATCA further validates the invoice against additional requirements, including the 24-hour submission rule.
-
If the invoice is submitted after the 24-hour window, ZATCA flags it as non-compliant, even if submitted after 24-hours it’ll not be rejected, and ZATCA will check is performed in backend periodically and not as a run time validation.
If you need additional clarification, feel free to reach out.
Best regards,
Lina
Dear @Lina-alrehaili1 ,
So how i should know about the final status of invoice and how to solve my current issue of invoices that exceeds 24 hours
thanks.
@Ziad @Lina-alrehaili1 Invoices are not rejected just because they are submitted beyond 24 hours. This check is performed in backend periodically and not as a run time validation.
@Ziad please share the error code that you received for rejection. I would reiterate there that there is no rejection for the reason that invoices are submitted beyond 24 hours.
Dear @Ankit_Tiwari ,
I didn’t get rejected in Zatca reporting response , i got status 200 with reportStatus:“REPORTED” ,however after some time my customer got an email from Zatca that some of invoices got rejected as of 24 hours constraint
@Ziad once you received 200 response, invoices are successfully submitted. There is no question of rejection here. Your client must have received email to explain reason for reporting simplified invoices beyond 24 hours.
Dear @Ziad @Ankit_Tiwari,
Thank you Ankit for your explanation and apologies for not clarifying this matter clearly earlier.
As Ankit mentioned, there is no rejection related to the 24-hour constraint. To assist you further, could you kindly share the error code or any additional details from the rejection email received by your client?
Kind regards,
Lina
Dear @Ankit_Tiwari , @Lina-alrehaili1 ,
I want to clarifiy something that i am asking about my actions as system develper to fix the issue of previous invoices that is rejected from Zatca and is there any way to know which ones the customer sent to Zatca after 24 hours or finally accepted ,
you can find a screenshot from email my customer got.
Thanks
@Ziad as a system developer, there is no action regarding past invoices which received a 200 response. Those are successfully reported (even if reported beyond 24 hours). Action will be (i) to explain reason for delay in submission beyond 24 hours of generation (ii) to avoid delayed reporting of simplified invoices beyond 24 hours in future.
For any other rejection where you receive a 400 response, you will have to fix the errors specified in response and submit invoices again (24 hours time-limit doesn’t apply for re-submission of errored invoices).
Dear @Ziad,
Please ensure compliance with regulations by adhering to the 24-hour from the issue date, for simplified e-invoices if it is related to a 400 error that might be preventing submission within the required 24-hour timeframe. If this is the case, could you kindly provide further details about the issue and any specific errors encountered?
Additionally, if there are any technical challenges affecting compliance with the 24-hour submission requirement, please let us know so that we can provide the necessary support.
Best regards,
Lina
Could you please tell me that from which time we should calculate 24 hours
like if i want to send the B2C invoice to zatca then from which time i coulld calculte my 24 hours limit
secondly how zatca validate these 24 hours time period
do it compares the time we send in xml with the current time or something else