--- title: "EDI Modifier" slug: "edi-modifier-10" description: "Information about the EDI modifier." updated: 2026-10-07T10:22:02Z published: 2026-10-07T10:22:02Z canonical: "kb.lasernetgroup.com/edi-modifier-10" --- > ## 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 10 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. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Setting/ln10-edi-modifier-10-image-01.png) Example of EDI input: ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Setting/ln10-edi-modifier-10-image-02.png) Example of XML Output: ``` 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. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Setting/ln10-edi-modifier-10-image-03.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/form-editor-guide-1). The EDI format is now built-in and replaces the need for the EDI modifier (previously used in older versions of Lasernet).