> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alumio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# EDI

> The EDI document standards Alumio supports and how to exchange EDI messages with trading partners.

Alumio supports EDI (electronic data interchange), so you can exchange business documents such as orders, invoices and shipping notices with trading partners in their EDI format.

### Supported document standards

Alumio supports the following EDI standards:

* **EDIFACT**
* **X12**

Alumio also supports **cXML**, the XML-based format used in procurement, through dedicated parsers and formatters. See [Parse from cXML](https://docs.alumio.com/references/deserializer/cxml) and [Format to cXML](https://docs.alumio.com/references/serializer/cxml).

> [!NOTE]
>
> Need a different EDI standard? Contact Alumio to discuss your requirements.

### Working with EDI messages

EDI messages are processed with list transformers. They convert EDI to JSON so you can map the data like any other data in Alumio, and convert JSON back to EDI before you send it to a trading partner.

| Transformer | What it does |
| :- | :- |
| [Alumio - EDI - Deserialize](https://docs.alumio.com/references/transformer-step/alumio-edi-deserialize-v2) | Converts an EDI message to JSON. |
| [Alumio - EDI - Serialize](https://docs.alumio.com/references/transformer-step/alumio-edi-serialize-v2) | Converts JSON to an EDI message. |
| [Alumio - EDI - Validate](https://docs.alumio.com/references/transformer-step/alumio-edi-validate-v2) | Validates an EDI message. |
| [Alumio - EDI - Acknowledge](https://docs.alumio.com/references/transformer-step/alumio-edi-acknowledge-v2) | Generates EDI acknowledgments. |
| [Alumio - EDIFACT - D96A to JSON](https://docs.alumio.com/references/transformer-step/edifact-json-to-schema) | Converts an EDIFACT D96A message to JSON. |

A typical inbound flow receives an EDI message, validates it, converts it to JSON, maps it to the format of the target system and sends an acknowledgment to the trading partner. An outbound flow does the reverse: it maps the source data, converts it to an EDI message and sends it to the trading partner.

### Exchanging EDI messages over AS2

To send and receive EDI messages over AS2, connect Alumio to an external AS2 Gateway with the [AS2 Gateway connector](https://docs.alumio.com/connectors/as2-gateway.md). The connector lets you retrieve received AS2 messages and send new ones.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.