DematFacturesVente batch
Important
This feature requires the feature flag Sales portal Domain > Vente FacturX Label.
This batch is used to transmit Factur-X in the EN 16931 format to the desired FTP or SFTP server.
Note
The EN 16931 data profile corresponds to Factur-X that contain all data of invoices.

When creating the batch, select DematFacturesVentes in the Batch template drop-down list.
When the batch is started, it analyzes sales invoices that meet the following criteria:
- Transmission status: To transmit;
- Booked;
- External;
- Original PDF in the Linked documents tab.
The batch only exports sales invoices from authorized companies, which are companies specified in the SOCIETES_A_TRAITER parameter of the batch, or all companies if no company is specified in this setup.
The Transmission status of the invoice indicates the state the invoice is in:
- No transmission - The invoice is not subjected to transmission;
- To transmit - The invoice has not been processed or the batch has not transmitted this invoice;
- Sent - The invoice has been transmitted by the batch.
When a sales invoice is exported when the batch is running, its Transmission status becomes Sent.
If a sales invoice could not be transmitted, the Transmission status stays To transmit. The reason why the sales invoice could not be transmitted is shown in the batch log file.

The parameters in the following table correspond only to the parameters specific to the DematFacturesVente batch.
Reference
To view the parameters common to most batches, refer to Setting up the common parameters.
Code | Description | Type | Required |
---|---|---|---|
FTP_CHEMIN
|
Path to access the FTP or SFTP directory on the server where the invoices will be dropped by the batch. |
String Ex: demat/facturx |
No |
FTP_MODE
|
Method to connect to the FTP or SFTP server. If SFTP is specified, the Important Only the FTP or SFTP connection methods can be used. |
String Ex:FTP or SFTP |
No |
FTP_PASSWORD
|
Password to connect to the FTP or SFTP server. This password must be linked to the FTP_USER specified. |
String Ex: aHFG45*F |
No |
FTP_PORT
|
FTP or SFTP server port. |
Number Ex: 21 |
No |
FTP_SERVEUR
|
FTP or SFTP server to which invoices will be dropped by the batch. |
String Ex: ftp.akuiteo.fr |
No |
FTP_USER
|
Login to connect to the FTP or SFTP server. |
String Ex: TECH |
No |
SFTP_SSH_KEYSTORE
|
Important This parameter is required if SFTP is specified for Path to access the Keystore file that is protected by a password and that contains keys and certificates. |
String Ex: keystore |
No |
SFTP_SSH_KEYSTORE_PASSWORD
|
Important This parameter is required if SFTP is specified for Password to access the Keystore file. |
String Ex: aHFG45*F |
No |
SOCIETES_A_TRAITER
|
Codes of companies taken into account for the transmission of Factur-X. The batch can only transmit invoices on companies specified in this parameter. Factur-X from other companies will not be transmitted. To select multiple companies, separate the company codes with ; characters. Leave this parameter empty if you want all companies to be taken into account. Important In the case of a transmission on several companies, it is necessary to specify a partitioned customer on the relevant companies in the |
String Ex: COM1;COM2;COM3 |
No |