997 example edi
ISA*00* *00* *ZZ*SENDERID *ZZ*RECEIVERID *030101*1253*U*00401*000000001*0*T*:~
GS*FA*SENDERID*RECEIVERID*20030101*1253*1*X*004010~
ST*997*0001~
AK1*PO*1234~
AK2*850*0001~
AK5*A~
AK9*A*1*1*1~
SE*6*0001~
GE*1*1~
IEA*1*000000001~
<?xml version="1.0" encoding="iso-8859-1" ?><Batch>
<Interchange type="ISA" auth-qual="00" security-qual="00" sender-qual="ZZ" sender-id="SENDERID" receiver-qual="ZZ" receiver-id="RECEIVERID" date="030101" time="1253" standard="U" version="00401" control="000000001" ack="0" test="T" ><FunctionalGroup type="GS" group="FA" sender="SENDERID" receiver="RECEIVERID" date="20030101" time="1253" control="1" standard="X" version="004010" ><Document type="997" name="Functional Acknowledgment">
<RepeatingSegment type="ST">
<Segment type="ST" name="Transaction Set Header">
<Element type="143" name="Transaction Set Identifier Code" value="Functional Acknowledgment">997</Element>
<Element type="329" name="Transaction Set Control Number">0001</Element>
</Segment>
</RepeatingSegment>
<RepeatingSegment type="AK1">
<Segment type="AK1" name="Functional Group Response Header">
<Element type="479" name="Functional Identifier Code" value="Purchase Order (850)">PO</Element>
<Element type="28" name="Group Control Number">1234</Element>
</Segment>
</RepeatingSegment>
<Loop type="AK2">
<RepeatingSegment type="AK2">
<Segment type="AK2" name="Transaction Set Response Header">
<Element type="143" name="Transaction Set Identifier Code" value="Purchase Order">850</Element>
<Element type="329" name="Transaction Set Control Number">0001</Element>
</Segment>
</RepeatingSegment>
<RepeatingSegment type="AK5">
<Segment type="AK5" name="Transaction Set Response Trailer">
<Element type="717" name="Transaction Set Acknowledgment Code" value="Accepted">A</Element>
</Segment>
</RepeatingSegment>
</Loop>
<RepeatingSegment type="AK9">
<Segment type="AK9" name="Functional Group Response Trailer">
<Element type="715" name="Functional Group Acknowledge Code" value="Accepted">A</Element>
<Element type="97" name="Number of Transaction Sets Included">1</Element>
<Element type="123" name="Number of Received Transaction Sets">1</Element>
<Element type="2" name="Number of Accepted Transaction Sets">1</Element>
</Segment>
</RepeatingSegment>
<RepeatingSegment type="SE">
<Segment type="SE" name="Transaction Set Trailer">
<Element type="96" name="Number of Included Segments">6</Element>
<Element type="329" name="Transaction Set Control Number">0001</Element>
</Segment>
</RepeatingSegment>
</Document>
</FunctionalGroup>
</Interchange>
</Batch>