Is there any issue if I reset IRN, while keeping ICV preserved

Hello ZATCA Team,

I am writing to inquire about the approach we are using for the IRN sequence in our system. Currently, our system resets the IRN sequence at the start of each year, beginning with ex. IRN = INV00001, while maintaining the CSID unchanged. As a result, the ICV remains preserved and continues from the last ICV sent.

For example:

  • Year 2024 (first integration):
    • First invoice sent to ZATCA: IRN = INV00001, ICV = 1
    • Last invoice: IRN = INV00999, ICV = 999
  • Year 2025:
    • First invoice sent to ZATCA: IRN = INV00001, ICV = 1000
    • Last invoice: IRN = INV00999, ICV = 1999

In this approach, the IRN may duplicate across years, but the ICV and the datetime will not be duplicated.

Could you please confirm if there are any issues with this approach or if it complies with the requirements?

Thank you for your assistance.

1 Like

Hello Zatca Team,

Please, reply on pervious question.

Additional question: Should the IRN printed on the readable invoice match the IRN in the XML file exactly, or can it be in a shortened format on the readable invoice?
ex. IRN=INV/0B/025/00001 printed as 00001 for simplification