2. Scenario - FacturXToXML

Page / - last modified by Outhman Moustaghfir on 2022/06/13 13:18

FacturXToXML

last modified by Outhman Moustaghfir

on 2022/06/13 13:18

Table of Contents

Introduction

Parameters

Use case

Introduction

FacturXToXML is a connector that extract the XML structure from a FacturX.

Parameters

The required parameters for FacturXToXML are :

Output FileName : the folder and the name of the output XML file, eg: '/out/facturX.xml' , '/work/newFacturX.xml' ...

NB: putting the output XML structure in the "out" directory, allows to show and download from the exploitation page.

Input Charset: the charset used for the input file. set by default to UTF-8.

Output Charset: the charset used for the output file. set by default to UTF-8.

Use case

The FacturXToXML takes an input FacturX from the previous connector in the scenario and triggers the extraction of the XML structure.

the following sample illustrates the use of the connector :

We call an AppEventListener to start the process that loads a FacturX from a certain directory, and then the FactuXToXML comes to extract the XML file, and add it to the exploitation page.