Wiki source code of XMLToFacturX
Version 5.2 by Outhman Moustaghfir on 2022/03/14 15:44
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | **Status : __In progress__** | ||
2 | |||
3 | |||
4 | = Introduction = | ||
5 | |||
6 | This document aims to give a global view on how to create a FacturX, a PDF-based format for electronic invoices, by using the XMLToFacturX connector. | ||
7 | |||
8 | = Parameters = | ||
9 | |||
10 | XMLToFacturX requires 3 parameters : | ||
11 | |||
12 | * **Output FileName** : the folder and the name of the output FacturX, eg: '/out/facturX.pdf' , '/work/newFacturX.pdf' ... | ||
13 | ** __//NB//:__ putting the output signed pdf in out allows to show and download from the exploitation page. | ||
14 | * **Input Charset**: the charset used for the input file. set by default to UTF-8. | ||
15 | * **Output Charset: **the charset used for the output file. set by default to UTF-8. | ||
16 | |||
17 | = Use case = | ||
18 | |||
19 | To use the XMLToFacturX correctly, it must be preceded by a gateway (__**inclusive or parallel**__) that links it to another 2, and only 2 connectors, one generates an XML file structure, and the other sends its invoice in PDF format, and that is to ensure having both files before triggering XMLToFacturX | ||
20 | |||
21 | let's take a simple example to understand the functionality of the connector : | ||
22 | |||
23 | [[image:2022-03-14_15h39_49.png||height="252" width="568"]] [[image:2022-03-14_15h40_46.png||height="249" width="265"]] | ||
24 | |||
25 | |||
26 | here, we created a simple scenario that load 2 files using **LoadFile **connector | ||
27 | |||
28 | |||
29 |