The document discusses a meetup on B2B EDI formats and MuleSoft's X12 connector. It provides an overview of different EDI formats including X12, UN/EDIFACT, and TRADACOM. It then explains what X12 is, how different transactions are represented, and how the MuleSoft X12 connector works, allowing conversion between X12 and DataWeave and supporting validation and acknowledgments. The presenter concludes with a demonstration of the connector and a Q&A.
4. 4
● EDI
● EDI formats
● MuleSoft + EDI = ??
● How does X12 format look like?
● Understanding X12 Connector
● X12 Demo
● Q&A
● Quiz
Agenda
5. 5
“Electronic Data Interchange (EDI) is the computer-to-computer exchange
of business documents in a standard electronic format between business
partners.”
Source: https://www.edibasics.com/what-is-edi/
What is EDI?
6. 6
What is EDI?
● Electronic Data Interchange (EDI)
is an approach for B2B
communications over electronic
mediums.
7. 7
What is EDI?
● Electronic Data Interchange (EDI)
is an approach for B2B
communications over electronic
mediums.
● Eliminates need for paper
communications
8. 8
What is EDI?
● Electronic Data Interchange (EDI)
is an approach for B2B
communications over electronic
mediums.
● Eliminates need for paper
communications
● Minimizes human interactions for
completing business transactions.
10. 10
EDI Formats
● ANSI ASC X12
○ Developed and Maintained by
American Standards
Committee X12 (ASC X12)
○ Used in health care,
insurance, transportation,
finance, and other industries.
○ Predominantly used in North
America.
ST*850*0001~
BEG*00*RL*508517*1001*20000506**NA*IEL~
N1*BY*ABC Aerospace Corporation*9*123456789-0101~
N3*1000 BOARDWALK DRIVE~
N4*SOMEWHERE*CA*98898~
PO1*1*48*EA*3*PE*MG*R5656-2~
IT8*******B0~
CTT*1~
AMT*TT*144~
SE*10*0001
11. 11
EDI Formats
● UN/EDIFACT
○ United Nations/Electronic Data
Interchange for Administration,
Commerce and Transport
(UN/EDIFACT)
○ UN recommended and
predominantly used out side of
North America
UNA:+.? '
UNB+IATB:1+6XPPC:ZZ+LHPPC:ZZ+940101:0950+1'
UNH+1+PAORES:93:1:IA'
MSG+1:45'
IFT+3+XYZCOMPANY AVAILABILITY'
ERC+A7V:1:AMD'
IFT+3+NO MORE FLIGHTS'
ODI'
TVL+240493:1000::1220+FRA+JFK+DL+400+C'
PDI++C:3+Y::3+F::1'
APD+74C:0:::6++++++6X'
TVL+240493:1740::2030+JFK+MIA+DL+081+C'
PDI++C:4'
APD+EM2:0:1630::6+++++++DA'
UNT+13+1'
UNZ+1+1'
12. 12
EDI Formats
● TRADACOM
○ Developed by Article Number
Association now known as
GS1 UK.
○ Predominantly used in the UK
retail industry
STX=ANA:1+5000000000000:SOME STORES
LTD+5010000000000:SUPPLIER UK
LTD+070315:130233+000007+PASSW+ORDHDR+B'
MHD=1+ORDHDR:9'
TYP=0430+NEW-ORDERS'
SDT=5010000000000:000030034'
CDT=5000000000000'
FIL=1630+1+070315'
MTR=6'MHD=2+ORDERS:9'
CLO=5000000000283:89828+EAST SOMEWHERE DEPOT'
ORD=70970::070315'
DIN=070321++0000'
OLD=1+5010210000000++:00893592+12+60++++CRUSTY ROLLS:4
PACK'
OTR=1'MTR=7'MHD=3+ORDTLR:9'OFT=1'MTR=3'
END=3'
13. 13
EDI Formats
● HIPAA - The Health Insurance
Portability and Accountability ACT
(HIPAA)
● HL7 - Health Level Seven
● ….. many more
17. 17
In 1979, the American National Standards Institute (ANSI) chartered the
Accredited Standards Committee (ASC) X12 to develop uniform standards for
interindustry electronic exchange of business transactions-electronic data
interchange (EDI).
Source: http://x12.org/x12org/about/asc-x12-faqs.cfm#a1
What is X12?
18. 18
X12 Standards are continuously evolving. They can be differentiated by
release tag such 004010, where -
● 004 - Version Number
● 01 - Release Number
● 0 - Sub-release Number
Examples - 003010, 003020, … 004010 …. 005010 … etc.
Source: http://x12.org/x12org/about/asc-x12-faqs.cfm#a1
What is X12?
19. 19
How do you represent different business transactions with X12?
What is X12?
PO
Invoi
ce
Invoi
ce
Invoi
ce
Invoice
PO
PO
Purcha
se
Order
Delivery
Order
Delivery
Order
Delivery
Order
Delivery
Order
……… many more
20. 20
How do you represent different business transactions with X12?
X12 Standard defines Transaction Sets to represent different document types.
What is X12?
PO
Invoi
ce
Invoi
ce
Invoi
ce
Invoice
PO
PO
Purcha
se
Order
Delivery
Order
Delivery
Order
Delivery
Order
Delivery
Order
……… many more
21. 21
How do you represent different business transactions with X12?
What is X12?
Invoice
Purcha
se
Order
Delivery
/Pickup
Order
850
810
370
Source: http://www.x12.org/x12-work-products/x12-transaction-sets.cfm
22. 22
● Lets you convert X12 messages to and from DataWeave-compatible
representations using lists and maps.
MuleSoft X12 Module
23. 23
● Lets you convert X12 messages to and from DataWeave-compatible
representations using lists and maps.
● Supports validating message for X12 Syntax as well as rules.
MuleSoft X12 Module
24. 24
● Lets you convert X12 messages to and from DataWeave-compatible
representations using lists and maps.
● Supports validating message for X12 Syntax as well as rules.
● Supports multiple versions of X12 standards, including many HIPAA
document versions.
MuleSoft X12 Module
25. 25
● Lets you convert X12 messages to and from DataWeave-compatible
representations using lists and maps.
● Supports validating message for X12 Syntax as well as rules.
● Supports multiple versions of X12 standards, including many HIPAA
document versions.
● Optionally, generate Functional Acknowledgements (997 or 999) as per X12
standards.
MuleSoft X12 Module
26. 26
● Lets you convert X12 messages to and from DataWeave-compatible
representations using lists and maps.
● Supports validating message for X12 Syntax as well as rules.
● Supports multiple versions of X12 standards, including many HIPAA
document versions.
● Optionally, generate Functional Acknowledgements (997 or 999) as per X12
standards.
● Metadata propagation with DataSense for configured schemas to make
transformations easy.
MuleSoft X12 Module
27. 27
● X12 Module 2.6 introduced new operation - Batch Write
○ Allows merging individual X12 documents
○ Reduce the number of transmissions with partners
MuleSoft X12 Module - Latest