# ConvertToXml

Required Frends version: 5.5+

Required .NET version: 6.0

Compatible Agents: Crossplatform

Source code: <https://github.com/FrendsPlatform/Frends.Edifact/tree/main/Frends.Edifact.ConvertToXml>

{% tabs %}
{% tab title="Parameter: Input" %}

| Name                        | Description                                                                                                                                                                                                                                                           |
| --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| InputEdifact : `String`     | <p>Gets or sets EDIFACT input string to be converted to XML.</p><p><br>Default: <code>-</code><br>Example: <code>UNB+UNOC:3+5500000000:30+ACME:ZZ+100926:1743+SE1234567++++++1' UNH+000001+INVOIC:D:93A:UN:EDIT30' BGM+380+891206500' ... UNZ+1+SE1234567'</code></p> |
| AllowMissingUNB : `Boolean` | <p>Gets or sets a value indicating whether allow EDIFACT messages with missing UNB header.</p><p><br>Default: <code>True</code><br>Example: <code>true</code></p>                                                                                                     |
| {% endtab %}                |                                                                                                                                                                                                                                                                       |

{% tab title="Result: Result" %}

| Name           | Description                                                                   |
| -------------- | ----------------------------------------------------------------------------- |
| Xml : `String` | <p>Gets result of converting Edifact to XML.<br>Example: <code>...</code></p> |
| {% endtab %}   |                                                                               |

{% tab title="Changelog" %}

## Changelog

### \[1.0.0] - 2024-12-17

#### Added

* Initial implementation

### \[1.1.0] - 2025-02-21

#### Fixed

* Fixed importing into frends issue
  {% endtab %}
  {% endtabs %}
