--- title: "EDI Modifier" slug: "edi-modifier" description: "Information about the EDI modifier." updated: 2026-01-30T12:11:15Z published: 2026-01-30T12:11:15Z canonical: "kb.lasernetgroup.com/edi-modifier" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.lasernetgroup.com/llms.txt > Use this file to discover all available pages before exploring further. # EDI Modifier **Applies to:** Lasernet Core 11 This modifier was previously used to convert an EDI file to XML or an XML template to EDI. However, as from Lasernet 8, EDI support was implemented as an ingoing and outgoing business format directly from the Lasernet Form Engine/Editor. ## EDI to XML Define the default EDI (UNA) characters for escaping, grouping, separating, and segmenting that will be included in the EDI file, for successful conversion into XML. UNA characters are typically located in the first line of EDI data. Setting decimal characters currently has no effect and is included for future releases. ![The EDI modifier Setup tab for EDI to XML conversion.](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/edi-image-4tetcff0.png) Example of EDI input: ![A computer screen shot of a computer code AI-generated content may be incorrect.](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/edi-image-qjd8k7nb.png) Example of XML Output: ```xml     UNOC   3       007007007   14       FLOORBALL   ZZZ    ...     1       INVOIC   D   ...       380       1234567890       137   20050601   102       AAB                   text 1   ...     VN   33333   ...     171   20050515   102       II       77777777     91    ...     S       176   21.82   ...     55       1       1       104   ``` ## XML to EDI Define the **EDI (UNA) characters** for escaping, grouping, separating, and segmenting that will be embedded into the EDI file after conversion has taken place. Insert Newlines can be activated for inserting newlines after each line in the XML file. Select **Insert Newline** to add a newline after each segment or deactivate to create an EDI file without newlines. Select **Count UNT** to calculate and include the number of segments in the EDI file. The UNT segment must already be present in the message trailer to function correctly. ![The EDI modifier Setup tab for XML to EDI conversion.](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/edi-image-e2v49u53.png) For successfully converting XML to EDI, the XML must include valid grouping, separations, and segments. Only XML files created via the EDI to XML modifier will have a valid structure by default. In the Form Editor, the XML file is very useful as a template for creating a valid EDI file based on the EDI to XML modifier (XML to EDI mode). For information about how to work with EDI as input or output, see the [Lasernet Form Editor Guide](/v1/docs/create-a-form). The EDI format is now built-in and replaces the need for the EDI modifier (previously used in older versions of Lasernet).