# Differentiate between two X12 4010 810bs from same Sender

**URL:** <https://techcommunity.softwareag.com/t/differentiate-between-two-x12-4010-810bs-from-same-sender/107196>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [September 22, 2005, 9:53pm UTC](https://techcommunity.softwareag.com/t/differentiate-between-two-x12-4010-810bs-from-same-sender/107196 "2005-09-22T21:53:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shazafar](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@Shazafar](https://techcommunity.softwareag.com/u/Shazafar)\
**Post date:** [September 22, 2005, 9:53pm UTC](https://techcommunity.softwareag.com/t/differentiate-between-two-x12-4010-810bs-from-same-sender/107196/1 "2005-09-22T21:53:03Z")

</div>

Hi All,  
A trading partner is sending us two different X12 4010 810’s. One is a summary invoice and one is a detailed invoice. The detail 810 is delivered 3 times a month and the summary only once a month. The processing is different for each file.  
I need to process the X12 Envelope. In TN I cannot invoke two processing rules, as the sender,receiver,type of document is same. So I am having to do it in a custom gateway service.  
My Question is, is there a way to differentiate this document in TN itself and invoke the corresponding service?  
The BIG08 Code value for one file is 53 and the other is 54.  
Any help is appreciated.  
Thank you  
Zafar

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [September 22, 2005, 11:47pm UTC](https://techcommunity.softwareag.com/t/differentiate-between-two-x12-4010-810bs-from-same-sender/107196/2 "2005-09-22T23:47:55Z")

</div>

Please dont duplicate the posts…so it will be easy for everyone to reply in one place…Hope you got the required solutoion in your one of the other posts…

goodluck,

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:04pm UTC](https://techcommunity.softwareag.com/t/differentiate-between-two-x12-4010-810bs-from-same-sender/107196/3 "2021-04-02T15:04:43Z")

</div>


