Invoice creation
After reviewing the trigger conditions, Linda creates 2 invoices for her tests:
Invoice #1:
An invoice dated 20/02/2026
One payment method: Direct debit
With an active PSP payment method
30-day net payment term
or a Payment with a date of 22/03/2026, corresponding to the date of debit of this invoice
Linda issues this first invoice.

Invoice #2:
An invoice dated 20/02/2026
One payment method : Direct debit
With an active PSP payment method
But this time, a payment term of 60 days net
or a Payment with a date of 04/21/2026, corresponding to the debit date of this invoice
Linda issues this second invoice.

We're now going to manually generate the SEPA direct debit file for submission to the bank.
Generate SEPA direct debit file from Payments
From the Payments list view, you will find a "Generate SEPA XML" button: 
Linda selects her 2 test invoices
Then clicks on "Generate SEPA XML".

Download the SEPA direct debit file for the bank
Mary, Cloud Kicks' accountant, contacted the bank beforehand to inform them that direct debit would be set up for these invoices. Mary also inquired about how to communicate the SEPA direct debit file (connection to her customer area, import of the online XML file…).
Now that Mary has all this information, she approaches Linda to find out how to download the XML file from Frisbii :
The file is stored in Salesforce Files.

From the application launcher, search for "Files".
IMPORTANT : it is important to note thatone file is generated per collection date.
As a result, from Files, Linda sees 2 SEPA direct debit files, i.e. 1 file per collection date.

The file is named as follows: SEPA_<date_de_generation>_<date_de_collecte>.xml
Example: SEPA_20260226_2026-04-21 corresponds to the SEPA file generated on 26/02/2026 for invoice #2 with a payment date of 21/04/2026.
Sending the SEPA direct debit file by e-mail
Alternatively, Mary can also receive the file by e-mail, instead of downloading it from Files. The e-mail will contain the SEPA file as an attachment.
To do this, Linda configures the e-mail from Salesforce :
From Salesforce Configuration
Search for "Custom settings"
Click on Manage "SEPA Settings"

Click on "New" to activate mail sending from the org:

.png?sv=2026-02-06&spr=https&st=2026-06-08T06%3A28%3A04Z&se=2026-06-08T06%3A40%3A04Z&sr=c&sp=r&sig=bcD43zIeMHTu%2FcHUf1BVIa802U%2BBnbDCaJJbhQPm6k0%3D)
Then save.Then enter the e-mail addresses that will receive the SEPA file,
To do this, from "Custom metadata types" :
Click on "SEPA Email Recipient".
Start by entering the default email address: click on Modify from "Default":

Enter the e-mail address of the main recipient
Repeat the operation by clicking on "New", if several users are to receive the SEPA file by e-mail.
Then go back to "Custom settings" and click on "SEPA Settings".
Check the box for "Enable email sending" :


Configuration is now complete.
To repeat the test scenario above, Mary will receive 1 e-mail with all the SEPA files attached, or 2 attachments with the 2 SEPA files corresponding to the 2 collection dates.
Checking the SEPA file
Linda wants to check the file format before submitting it to her bank.
There are free websites that allow you to check the content of the XML file, such as this one: https://www.sepaxml.com/tester-un-fichier-sepa-xml
Simply download the XML file from this site and get a result.