# Understanding ICV Usage and Uniqueness in ZATCA System

**URL:** <https://zatca1.discourse.group/t/understanding-icv-usage-and-uniqueness-in-zatca-system/5336>\
**Category:** General\
**Created:** [January 21, 2025, 2:07pm UTC](https://zatca1.discourse.group/t/understanding-icv-usage-and-uniqueness-in-zatca-system/5336 "2025-01-21T14:07:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arjun\_tech24](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@arjun\_tech24](https://zatca1.discourse.group/u/arjun_tech24)\
**Post date:** [January 21, 2025, 2:07pm UTC](https://zatca1.discourse.group/t/understanding-icv-usage-and-uniqueness-in-zatca-system/5336/1 "2025-01-21T14:07:37Z")

</div>

**Scenario 1:**  
For **Invoice Counter Value (ICV)**:

- Invoice numbers start from 1 to infinity.
- Credit notes start from 1 to infinity.
- Debit notes start from 1 to infinity.

**Question 1:**  
Can I assign the same ICV for different document types (Invoice, Credit Note, Debit Note) as long as they are unique within their type? For example:

- Invoice 1 → ICV = 1
- Credit Note 1 → ICV = 1
- Debit Note 1 → ICV = 1  
Or does the ICV need to be globally unique across all document types in the entire system?

* * *

**Scenario 2:**

1. **Invoice 1** : ICV = 1 (Reported successfully).
2. **Invoice 2** : ICV = 2 (Rejected by ZATCA).

**Question 2a:**  
If I resubmit Invoice 2 after fixing the issues, can I use the same ICV (2) for the resubmission?

**Question 2b:**  
If I decide not to resubmit Invoice 2 and move to the next invoice (Invoice 3), can I reuse ICV = 2 for Invoice 3, or must I assign a new ICV (e.g., ICV = 3)?

---

<div class="post-metadata">

**Author:** ![Ather](https://dub1.discourse-cdn.com/flex013/user_avatar/zatca1.discourse.group/ather/32/848_2.png) [@Ather](https://zatca1.discourse.group/u/Ather)\
**Post date:** [January 22, 2025, 9:04am UTC](https://zatca1.discourse.group/t/understanding-icv-usage-and-uniqueness-in-zatca-system/5336/2 "2025-01-22T09:04:24Z")

</div>

ICV number must be in sequence on each device.

Device # 1  
Invoice-1 → ICV → 1  
Credit Note-1 → ICV → 2  
Debit Note-1 → ICV → 3  
Invoice-2 → ICV → 4  
Invoice-3 → ICV → 5  
Invoice-4 → ICV → 6  
Credit Note-2 → ICV → 7

Device # 2  
Invoice-21 → ICV → 1  
Invoice-22 → ICV → 2  
Invoice-23 → ICV → 3  
Credit Note-22 → ICV → 4  
Invoice-24 → ICV → 5

Device # 3  
Invoice-31 → ICV → 1  
Invoice-32 → ICV → 2  
Invoice-33 → ICV → 3  
Debit Note-32 → ICV → 4  
Invoice-34 → ICV → 5
