X12 to JSON conversion

Orderful is able to convert between the X12 and JSON formats.

For example, the following X12:

ST*850*0001~
BEG*00*SA*PO123456789**20200828~

Would be converted into this JSON:

"transactionSetHeader": [
    {
        "transactionSetIdentifierCode": "850",
        "transactionSetControlNumber": "0001"
    }
],
"beginningSegmentForPurchaseOrder": [
    {
        "transactionSetPurposeCode": "00",
        "purchaseOrderTypeCode": "SA",
        "purchaseOrderNumber": "PO123456789",
        "date": "20200828"
    }
]

For detailed examples of different types of EDI documents and how we structure them in X12 and JSON, you can see our Order to Cash / Procure to Pay documentation.