# CSID For many unit on the same vatNumber

**URL:** <https://zatca1.discourse.group/t/csid-for-many-unit-on-the-same-vatnumber/8400>\
**Category:** Onboarding, renewal and revocation\
**Created:** [September 12, 2025, 5:10pm UTC](https://zatca1.discourse.group/t/csid-for-many-unit-on-the-same-vatnumber/8400 "2025-09-12T17:10:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![engalgamal96](https://avatars.discourse-cdn.com/v4/letter/e/ea5d25/32.png) [@engalgamal96](https://zatca1.discourse.group/u/engalgamal96)\
**Post date:** [September 12, 2025, 5:10pm UTC](https://zatca1.discourse.group/t/csid-for-many-unit-on-the-same-vatnumber/8400/1 "2025-09-12T17:10:14Z")

</div>

Now we have more than one unit (Program) to send to Zatka, put all groups under the same VAT Number. Can we create 3 CSIDs for each branch so each unit can send directly ?

---

<div class="post-metadata">

**Author:** ![mnuaimi](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@mnuaimi](https://zatca1.discourse.group/u/mnuaimi)\
**Post date:** [September 15, 2025, 8:12am UTC](https://zatca1.discourse.group/t/csid-for-many-unit-on-the-same-vatnumber/8400/2 "2025-09-15T08:12:31Z")

</div>

Yes, you can create separate **CSIDs** for each branch even under the same VAT number.

- Each **CSID** will have its own **ICV (Invoice Counter Value)** sequence starting from 1 independently.
- For the **IRN (Invoice Reference Number)** you must make sure it is **globally unique across all branches**.
  - A common practice is to prefix the IRN sequence for each branch to avoid duplication.

### Example

- **Branch A** → CSID\_A → ICV: 1,2,3… → IRN: `INV01-0001, INV01-0002 …`
- **Branch B** → CSID\_B → ICV: 1,2,3… → IRN: `INV02-0001, INV02-0002 …`
- **Branch C** → CSID\_C → ICV: 1,2,3… → IRN: `INV03-0001, INV03-0002 …`

### Summary

- ICV is managed locally by each CSID.
- IRN must be globally unique across all branches.
- Invoice XML should include the correct **CRN** and **branch address** for each issuing branch under the same VAT number.

---

<div class="post-metadata">

**Author:** ![engalgamal96](https://avatars.discourse-cdn.com/v4/letter/e/ea5d25/32.png) [@engalgamal96](https://zatca1.discourse.group/u/engalgamal96)\
**Post date:** [September 15, 2025, 1:59pm UTC](https://zatca1.discourse.group/t/csid-for-many-unit-on-the-same-vatnumber/8400/3 "2025-09-15T13:59:08Z")

</div>

Thanks a ton for your clarification. Also, the Invoice hash is managed locally by each CSID right?!
