FusionFacture Batch
The FusionFacture batch allows you to merge to merge the sales draft invoices of the company in one draft invoice, according to the grouping criteria chosen.

When creating the batch, select FusionFacture in the Batch template drop-down list.
Important
This batch template has the following restrictions:
- It is only available on the ***** company.
- It cannot run between 6 AM and 4 PM (on the server timezone). If the batch is started (manually or by planning) during this time frame, the execution will be postponed until 4 PM on the relevant day.
When the batch is running, a merged draft invoice is created for each set of invoices lines that meet the following conditions:
- The same ordering customer;
- The same customer to bill;
- The same delivery site;
- The same billing site;
- The same payment terms;
- The same sales journal.
If an invoice line is not merged, it stays in the original invoice. For all the merged invoices lines, a new invoice is created depending on the grouping criterion. The billing date of this merged invoice is specified according to the DATE_FACTURE
parameter.
Note
If you delete a merge invoice, related services as well as related lines of deliveries and billing tables will no longer be considered billed.

The parameters in the following table correspond only to the parameters specific to the FusionFacture batch.
Reference
To view the parameters common to most batches, refer to Setting up the common parameters.
Code | Description | Type | Required | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DATE_EXECUTION
|
This parameter is for informational purposes and corresponds to the date of the latest successful batch execution. This date is automatically specified after each successful batch execution. |
Date Ex: 10/14/2024 |
No | ||||||||||||||||||||||||||||||||||||
DATE_FACTURE |
Code of the keyword corresponding to a date. This date will be the billing date of merge invoices and will be specified in the following fields:
That date must be comprised in the current accounting period. If this parameter is left empty, the batch's execution date is used by default. |
String | No | ||||||||||||||||||||||||||||||||||||
ETABLISSEMENT
|
Entity codes separated by ;. Allows you to only take into account invoices on the specified entities. If this parameter is left empty, the batch will take into account all draft sales invoices of the company. |
String |
No | ||||||||||||||||||||||||||||||||||||
JOURNAUX_A_EXCLURE
|
Sales journal codes separated by Allows you to indicate the sales journals to exclude in the batch. If the parameter is left empty, all sales journals are taken into account by the batch. |
String | No | ||||||||||||||||||||||||||||||||||||
LISTE_SOCIETES_A_EXCLURE
|
Codes of companies to be excluded. Each code must be separated by a semicolon. If you want to target all companies with some exceptions, use the Note A company cannot be specified in both the |
String Ex: COM1;COM2;COM3 |
No | ||||||||||||||||||||||||||||||||||||
LISTE_SOCIETES_A_TRAITER
|
Codes of the companies to take into account. Each code must be separated by a semicolon. If you want to target only some companies, use the Leave the parameter empty if you want all companies to be taken into account (except those specified in the Note A company cannot be specified in both the |
String Ex: COM1;COM2;COM3 |
No | ||||||||||||||||||||||||||||||||||||
TYPE_REGROUPEMENT
|
Select a grouping criterion if you want to add a grouping criterion in addition to the aforementioned conditions. All invoices that have the same base conditions and grouping criterion will be merged into one invoice. If you do not enter the grouping criterion, invoices will be grouped based only on the base conditions. Important If the grouping criterion is selected, only lines for which the grouping criterion is entered are processed. For example, if the grouping criterion selected is Project family and an invoice line is on a project not linked to a family, then that line will not be processed and will stay as a remainder line on the original invoice. Example All invoices selected meet the following conditions:
The Project family grouping criterion is selected:
The FC0001 and FC0003 are deleted at the end of the process. |
List of values | No |