Table of Contents

Search

  1. Preface
  2. Introducing B2B Gateway
  3. B2B Gateway administration
  4. Project and asset management
  5. EDI X12 and EDIFACT Messages
  6. Custom files with custom mappings
  7. Inbound Custom Files with Intelligent Structure Discovery
  8. File transfer tasks
  9. Partners
  10. Tracking and Monitoring Events
  11. B2B Gateway REST APIs
  12. Glossary

B2B Gateway

B2B Gateway

Example of an outbound interface file for EDIFACT messages

Example of an outbound interface file for EDIFACT messages

The outbound interface file for EDIFACT messages contains a root element, message type element, loop elements, segment elements, and data elements.
The root element for an outbound interface file is specified as
<interchange>
to identify the message as an EDIFACT message. In this example, the message type element
<TS_INVOIC>
identifies the message as message type INVOIC.
<interchange> <TS_INVOIC> <UNH> <R01>1</R01> <R02> <R01>INVOIC</R01> <R02>D</R02> <R03>99A</R03> <R04>UN</R04> <R05>MMDR01</R05> </R02> <R03>2002</R03> <R04> <R01>1</R01> </R04> </UNH> <BGM> <R01> <R01>380</R01> </R01> <R02> <R01>9908001</R01> </R02> <R03>9</R03> </BGM> <DTM> <R01> <R01>3</R01> <R02>19990802</R02> <R03>102</R03> </R01> </DTM> <LOOP_1> <RFF> <R01> <R01>ON</R01> <R02>O0010001</R02> </R01> </RFF> <DTM_1> <R01> <R01>4</R01> <R02>19999715</R02> <R03>102</R03> </R01> </DTM_1> </LOOP_1> <LOOP_2> <NAD> <R01>SE</R01> <R03> <R01>Fahrradhandelpedal</R01> </R03> <R05> <R01>Wagingerstr.5</R01> </R05> <R06></R06> <R07></R07> <R08>München</R08> </NAD> </LOOP_2> <LOOP_2> <NAD> <R01>BY</R01> <R03> <R01>HuberGmbH</R01> </R03> <R05> <R01>Obstgasse2</R01> </R05> <R06>München</R06> <R07></R07> <R08>81549</R08> </NAD> </LOOP_2> <LOOP_26> <LIN> <R01>1</R01> <R02></R02> <R03> <R01>4711,001</R01> </R03> </LIN> <IMD_1> <R01>F</R01> <R03> <R01></R01> <R02></R02> <R03></R03> <R04>bike,ladies</R04> </R03> </IMD_1> <QTY_2> <R01> <R01>47</R01> <R02>1</R02> <R03>PCE</R03> </R01> </QTY_2> <LOOP_27> <MOA_6> <R01> <R01>66</R01> <R02>750</R02> </R01> </MOA_6> </LOOP_27> <LOOP_29> <PRI> <R01> <R01>AAA</R01> <R02>750</R02> </R01> </PRI> </LOOP_29> </LOOP_26> <LOOP_26> <LIN> <R01>2</R01> <R02></R02> <R03> <R01>4711,002</R01> </R03> </LIN> <IMD_1> <R01>F</R01> <R03> <R01></R01> <R02></R02> <R03></R03> <R04>airpump,stand</R04> </R03> </IMD_1> <QTY_2> <R01> <R01>47</R01> <R02>1</R02> <R03>PCE</R03> </R01> </QTY_2> <LOOP_27> <MOA_6> <R01> <R01>66</R01> <R02>19.9</R02> </R01> </MOA_6> </LOOP_27> <LOOP_29> <PRI> <R01> <R01>AAA</R01> <R02>19.9</R02> </R01> </PRI> </LOOP_29> </LOOP_26> <LOOP_26> <LIN> <R01>3</R01> <R02></R02> <R03> <R01>4711,003</R01> </R03> </LIN> <IMD_1> <R01>F</R01> <R03> <R01></R01> <R02></R02> <R03></R03> <R04>replacementvalve</R04> </R03> </IMD_1> <QTY_2> <R01> <R01>47</R01> <R02>3</R02> <R03>PCE</R03> </R01> </QTY_2> <LOOP_27> <MOA_6> <R01> <R01>66</R01> <R02>7,5</R02> </R01> </MOA_6> </LOOP_27> <LOOP_29> <PRI> <R01> <R01>AAA</R01> <R02>2.5</R02> </R01> </PRI> </LOOP_29> </LOOP_26> <UNS> <R01>S</R01> </UNS> <CNT> <R01> <R01>1</R01> <R02>180</R02> </R01> </CNT> <LOOP_50> <MOA_12> <R01> <R01>79</R01> <R02>777.4</R02> </R01> </MOA_12> </LOOP_50> <LOOP_50> <MOA_12> <R01> <R01>124</R01> <R02>124.38</R02> </R01> </MOA_12> </LOOP_50> <LOOP_50> <MOA_12> <R01> <R01>128</R01> <R02>901.78</R02> </R01> </MOA_12> </LOOP_50> <LOOP_52> <TAX_4> <R01>7</R01> <R02> <R01>VAT</R01> </R02> <R04></R04> <R05> <R01></R01> <R02></R02> <R03></R03> <R04>16</R04> </R05> <R06>S</R06> </TAX_4> </LOOP_52> <UNT> <R01>28</R01> <R02>INVOIC0001</R02> </UNT> </TS_INVOIC> </interchange>

0 COMMENTS

We’d like to hear from you!