Linda has completed all the prerequisites. Linda will now create an invoice from scratch to understand how to set up SEPA direct debits on her customer invoice.
Invoices eligible for SEPA direct debits
An invoice will be included in the direct debit file if the following conditions are met:
The payment method sofactoapp__Payment_mode__c of the invoice must be : Direct debit
The status sofactoapp__Status__c must be: Issued
A PSP payment method sofactoapp__PSPPaymentMethod__c must be entered. This PSP Payment method must be Active.
The payment term which determines the due date sofactoapp__Ech_ance__c must be entered.
A Payment record must be associated with the invoice.
By default, the bank details are those of the corporate name. If, exceptionally, the invoice is to be debited from another bank account, you can associate this bank details in the Other bank details field sofactoapp__Autres_coordonnees_bancaires__c on the invoice. A single SEPA file can contain several of a company's bank details.
Payment Record
A payment is part of the SEPA direct debit file if the following conditions are met:
Payment must be pending sofactoapp__En_attente__c : box checked
The Payment methods sofactoapp_Payment_mode_c must be: Direct debit Received by owner of the eligible invoice.
The amount must be positive
IMPORTANT: The payment date corresponds to the date collected in the XML file. This date is automatically equal to the invoice due date.
Example: an invoice with a date of 01/01/2026, with a payment term of 30 days net, the due date and settlement date is 01/31/2026.
The collection date in the direct debit file is 01/31/2026, i.e. direct debit will take place on 01/31.

Passons à l’article suivant pour voir comment générer le fichier de prélèvement SEPA.