# Missing Interchange Control Number

**URL:** <https://connective.celigo.com/t/missing-interchange-control-number/4787>\
**Category:** Integrator.io\
**Tags:** edi, x12, import, flow-builder\
**Created:** [June 10, 2025, 8:00pm UTC](https://connective.celigo.com/t/missing-interchange-control-number/4787 "2025-06-10T20:00:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jackharris](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/jackharris/32/6618_2.png) [@jackharris](https://connective.celigo.com/u/jackharris)\
**Post date:** [June 10, 2025, 8:00pm UTC](https://connective.celigo.com/t/missing-interchange-control-number/4787/1 "2025-06-10T20:00:42Z")

</div>

My fellow Celigoans!

I have a support ticket in for this, but I wanted to attempt to get more eyes on what's going on.

In the preview for my flow, I have an Interchange Control Number.

 ![The image shows a code editor on the left with file definition rules and sample flow data on the right, highlighting the synchronization of an "Interchange Control Number." (Captioned by AI)](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/7/7a3db9da4f76549b55e50e42375550a0ff04ff78.png)

However, the file that gets sent, the Interchange Control Number, comes through as nothing but zeros.

![image](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/8/812e900a16dc0e285b11a1db87068c5f02251eb7.png)

I've tried:

- Changing the Occurrences on the ISA segment
- Changing the Type from Number to String
- Using the Celigo-generated control number
- Using the Interchange Control Number(IEA02) since they should be the same value anyway

Regardless of what I do, it continues to export zeros instead of an ICN. Do you have any thoughts on where I'm going wrong?

---

<div class="post-metadata">

**Author:** ![basvanditzhuijzen](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/basvanditzhuijzen/32/4422_2.png) [@basvanditzhuijzen](https://connective.celigo.com/u/basvanditzhuijzen)\
**Post date:** [June 11, 2025, 12:11pm UTC](https://connective.celigo.com/t/missing-interchange-control-number/4787/2 "2025-06-11T12:11:04Z")

</div>

Can you check that the field "Interchange Control Number" is correctly set in the json you are passing to the import?  
The Sample data Celigo shows in the top right for EDI parsers isn't the actual mock-data it is receiving from any previous steps, it's a separate example that is stored on the import.

---

<div class="post-metadata">

**Author:** ![jackharris](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/jackharris/32/6618_2.png) [@jackharris](https://connective.celigo.com/u/jackharris)\
**Post date:** [June 11, 2025, 12:27pm UTC](https://connective.celigo.com/t/missing-interchange-control-number/4787/3 "2025-06-11T12:27:18Z")

</div>

I've done that as best as I'm aware of, and I keep getting the same result. I'm just confused as to where it's getting the zeros from. If it's not passing the data from the flow, then it should be a blank string.

---

<div class="post-metadata">

**Author:** ![basvanditzhuijzen](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/basvanditzhuijzen/32/4422_2.png) [@basvanditzhuijzen](https://connective.celigo.com/u/basvanditzhuijzen)\
**Post date:** [June 12, 2025, 8:12am UTC](https://connective.celigo.com/t/missing-interchange-control-number/4787/4 "2025-06-12T08:12:32Z")

</div>

This is just a theory, but the EDI Generator V2 / EDI Profile feature sources the X12 header data from the EDI Profile. The profile also contains the next value of the ICN. It could be that when the generator is creating the ISA envelope the document itself isn't loaded yet, just the edi profile, and thats why the handlebar doesn't work. Then the generator pads the ICN with zeros to make it the mandatory 9 chars long.

Edit: could you try if {{0.[Interchange Control Number]}} works? Just a wild thought.

---

<div class="post-metadata">

**Author:** ![nuriensing](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/nuriensing/32/6918_2.png) [@nuriensing](https://connective.celigo.com/u/nuriensing)\
**Post date:** [June 16, 2025, 11:05am UTC](https://connective.celigo.com/t/missing-interchange-control-number/4787/5 "2025-06-16T11:05:53Z")

</div>

> [@jackharris](#):
>
> Celigoans

+1 for the term "Celigoans" 🤣
