Skip to main content

xSuite eDNA Helix

Code Maps

edna_cust_code_maps.png

The Code Maps menu item offers options to define data for ISO code mapping. In accordance with the European standard EN 16931, ISO codes must be used for units when processing electronic invoices. xSuite eDNA Helix converts the unit codes from the invoice into the required ISO codes. For this purpose, you can create custom code map sets that contain the unit codes and the corresponding ISO codes. The code maps can be used for sending and receiving e-invoices.

xSuite eDNA Helix converts the unit codes from the invoice into the required ISO codes. To do this, you can create custom code map sets that map your custom unit codes specific to your ERP system to the corresponding ISO codes from the standardized code lists. The code maps can be used for both sending and receiving e-invoices.

A code map set can be used either globally for all companies or only for one or more specific companies. Each code map set contains at least one code map list. For each code map list, you define whether it is used for sending or receiving e-invoices. In the code map list, you specify the relevant unit codes and the corresponding ISO codes. xSuite eDNA Helix uses this information when processing e-invoices for the selected companies to automatically translate the codes into ISO codes.

You can import and export data from a code map list. Both JSON and CSV file formats are supported for exporting and importing.

Creating a code map set

When creating a new code map set, you need to specify the companies for which the code map set will be used. You can either create a code map set that is used globally for all companies or a code map set that is used only for selected companies. After creation, you can add a code map list within the code map set.

Creating a global code map set
  1. Under the CustomizationCode Maps menu item, click Create Code Map Set.

    ➣ The Create Code Map Set dialog box will open.

    edna_cust_code_map_dialog.png
  2. Select the Global option.

    edna_cust_code_map_dialog_global.png
  3. In the Title field, enter a display name for the code map set.

  4. If necessary, enter a brief description of the code map set in the Description field.

  5. Click Save.

    ➤ The code map set has been created. You can now add a code map list.

Creating a code map set for selected companies
  1. Under the CustomizationCode Maps menu item, click Create Code Map Set.

    ➣ The Create Code Map Set dialog box will open.

    edna_cust_code_map_dialog.png
  2. Select the Company option.

  3. In the Title field, enter a display name for the code map set.

  4. If necessary, enter a brief description of the code map set in the Description field.

  5. In the Companies section, click the companies in the Available list for which the code map set is used.

    Tip

    To select multiple companies at once, hold the Ctrl key.

    To move all companies to the Selected list at once, click the button edna_cust_code_map_double_arrow_right.png.

    ➣ The companies are highlighted in the Available list.

    edna_cust_code_map_dialog_companies_markiert.png
  6. Click the button edna_cust_code_map_arrow_right.png.

    ➣ The highlighted companies will be moved to the Selected list.

    edna_cust_code_map_dialog_companies_selected.png

    Tip

    To remove a company from the Selected list, click on the company and then click the button edna_cust_code_map_arrow_left.png. The company will be moved back to the Available list.

  7. Click Save.

    ➤ The code map set has been created. You can now add a code map list.

Adding a code map list

Within a code map set, you can add multiple code map lists. For each code map list, you define whether it is used for receiving invoices or for sending invoices. You also select which standardized code list is used for the mapping.

Tip

Instead of manually adding code map lists and typing in the codes, you can also import code map lists.

  1. Go to the menu item CustomizationCode Maps.

    ➣ A list of available code map sets will be displayed.

    beschriftung_edna_cust_code_maps_liste.png
  2. Click on a code map set in the list.

  3. Click Create Code Map List.

    ➣ The Create Code Map List dialog box will open.

    edna_cust_code_map_liste_dialog.png
  4. Select one of the following options:

    • IsoToCustom: Creates a list for mapping ISO codes to custom codes. This list is used for incoming invoices (inbound).

    • CustomToIso: Creates a list for custom codes to ISO codes. This list is used for sending invoices (outbound).

  5. Select a standardized code list to use for mapping, and then click Save.

    Notice

    Depending on whether you have selected the IsoToCustom or CustomToIso option, different code lists are available.

    ➣ The selected code list is added.

  6. Click Edit.

    ➣ The edit mode is enabled. The ISO codes from the selected code list will automatically be inserted into the Code Map Key column.

    edna_cust_code_map_erstellung.png
  7. In the Custom Key column, enter the corresponding custom codes for all relevant ISO codes.

    Tip

    To clear all entered custom codes, click Clear table inputs.

  8. Click Save.

    ➤ The code list has been added.

Importing a code map list

You can import a code map list in JSON or CSV format.

Code map lists in JSON format are primarily designed for machine processing. The CSV format, on the other hand, is recommended if you need the codes in a tabular overview and plan to maintain them manually.

Importing a code map list in JSON format
  1. Go to the menu item CustomizationCode Maps.

    ➣ A list of available code map sets will be displayed.

    beschriftung_edna_cust_code_maps_liste.png
  2. Click on a code map set in the list.

    ➣ A list of the code map lists available in this code map set will be displayed.

  3. Click Import Code Map List.

    ➣ A file selection dialog box will open.

  4. Select a JSON file to import, then click Open.

    Notice

    The JSON file must use the following syntax:

    [
      {
        "Mappings": {<List of codes>},
        "CodeListName": "<Name of code list>",
        "Version": "<Version number>",
        "Direction": "<Direction of mapping>"
      }
    ]

    Example:

    [
      {
        "Mappings": {
          "AD": "A1",
          "AE": "A2",
          "AF": "A3",
          "AG": "A4",
          "AI": "A5"
        },
        "CodeListName": "CountryCode",
        "Version": "8",
        "Direction": "IsoToCustom"
      }
    ]

    ➣ The Import Code Maps List dialog box will open. The list of code maps to be imported is displayed.

    edna_cust_code_map_import_json_dialog.png
  5. Select the code map list, then click Import Code Maps List.

    ➤ The code map list has been imported. The list data is displayed.

    edna_cust_code_map_import_json_ergebnis.png
Importing a code map list in CSV format

Caution

When you import the code map list, all existing data will be overwritten.

  1. Go to the menu item CustomizationCode Maps.

    ➣ A list of available code map sets will be displayed.

    beschriftung_edna_cust_code_maps_liste.png
  2. Click on a code map set in the list.

    ➣ A list of the code map lists available in this code map set will be displayed.

  3. Click on a code map list, and then click Edit.

    ➣ Edit mode is enabled.

  4. Click Import CSV file.

    beschriftung_edna_cust_code_map_import_csv.png

    ➣ A file selection dialog box will open.

  5. Select a CSV file to import, then click Open.

    Notice

    The CSV file must contain one column titled Code Map Key and one column titled Custom Key .

    edna_cust_code_map_import_csv_struktur.png

    ➣ The code map list has been imported. The data of the list is displayed.

    edna_cust_code_map_import_csv_ergebnis.png
  6. Click Save.

    ➤ The code map list has been saved.

Exporting a code map list

You can export a code map list in JSON or CSV format. In JSON format, you can export multiple code map lists at once, which are saved together in a single JSON file. In CSV format, you can export only one code map list at a time.

Code map lists in JSON format are primarily designed for machine processing. The CSV format, on the other hand, is recommended if you need the codes in a tabular overview and plan to maintain them manually.

Exporting a code map list in JSON format
  1. Go to the menu item CustomizationCode Maps.

    ➣ A list of available code map sets will be displayed.

    beschriftung_edna_cust_code_maps_liste.png
  2. Click on a code map set in the list.

    ➣ A list of the code map lists available in this code map set will be displayed.

  3. Click Export Code Map List.

    edna_cust_code_map_export_json.png

    ➣ The Export Code Map List dialog box will open. All available code map lists will be displayed for selection.

    edna_cust_code_map_list_export_dialog.png
  4. Select one or more code map lists to export, and then click Export Code Maps Lists.

    ➤ The code map list is exported in JSON format.

    Notice

    The JSON file has the following structure:

    [
      {
        "Mappings": {<List of codess>},
        "CodeListName": "<Name of code list>",
        "Version": "<Version number>",
        "Direction": "<Direction of mapping>"
      }
    ]

    Example:

    [
      {
        "Mappings": {
          "AD": "A1",
          "AE": "A2",
          "AF": "A3",
          "AG": "A4",
          "AI": "A5"
        },
        "CodeListName": "CountryCode",
        "Version": "8",
        "Direction": "IsoToCustom"
      }
    ]
Exporting a code map list in CSV format
  1. Go to the menu item CustomizationCode Maps.

    ➣ A list of available code map sets will be displayed.

    beschriftung_edna_cust_code_maps_liste.png
  2. Click on a code map set in the list.

    ➣ A list of the code map lists available in this code map set will be displayed.

  3. Click on a code map list, and then click Export Code-List.

    edna_cust_code_map_export_csv.png

    ➤ The selected code map list is exported in CSV format.