...
Sign a SEPA Direct Debit contract with your bank
Contact your bank to request and sign European SEPA contract. This feature is offered and supported by most European banks.Install and configure SEPA direct debit module, as described above.
Add your current debtors (if you have any)
Debtor account is assigned with your client profile in HostBill. When browsing client profile you will see direct debit status in top menu:
When you'll click on Direct Debit button, you'll be redirected to Debtor profile page / add new Debtor page:
Here you can:
Setup a customer that this debtor profile belongs to
Enter customer bank details like BIC, IBAN, Bank Name, Bank Account Name (customer name)
Provide Mandate ID - if empty HostBill will generate its own mandate ID.
Mandate is authorization granted by your customer to perform direct debits on their bank accountProvide Mandate Date - when mandate was signed by your customer
Setup mandate status - here you can disable debtor profile from future charges
Mandate type: Select whether customer agreed on only one charge (One-Time) or subsequent automatic collections (Recurring)
Create your batch
You can either wait for cron to automatically create new batch, based on your creditor settings, or create new batch manually in "Export" menuAdd invoices to batch
Invoices are being added automatically to draft batches based on creditor settings. You can add them manually to draft batch in batch details screen.
Note: Invoices in manual add list are Unpaid, with Sepa Direct Debit payment gateway, belonging to customers with active mandateDownload batch
When all invoices are already added/batch is ready to be downloaded, you can download it from batch details screen.Change batch status
When batch has been processed, you can change its current state to indicate it for other staff members.Upload bank statement
Login to your bank account and download bank statement in format of CAMT.053 or MT940.
Make sure to use proper date range to not overlap with previously processed statements .Process bank statement
After uploading, HostBill will process statement to its own format and store it in database.
Click on: Attempt to match rows - for HostBill to look for potential transactions in imported statement rows.
When matched HostBill will not create transactions automatically but will ask you to confirm it.If HostBill was unable to find related unpaid invoices, you can still point it manually, by selecting row and clicking on Attempt Match.
Select matched rows from list, and click on Process - this will create transactions in HostBill database/mark invoices as paid.
...
To connect to GoCardless Bank Account Data API using SEPA Direct Debit plugin:
Obtain API credentials from bankaccountdata.gocardless.com in Developers → User Secrets section
Use those credentials in Settings section of SEPA Direct Debit module, picking your bank Country:
Save SEPA module Settings, proceed to Creditors tab to define new Creditor using this connection:
Enter basic details like Name, IBAN etc.
For import source, pick GoCardless
Pick your Bank in Bank account section
Save changes
In Creditors section you will notice that you need to Authorize your connection, click on a button to proceed to your bank to authorize using GoCardless Bank Account Data
Once connection is authorized you will be redirected back to Creditors page and should see Active status:
From now on SEPA direct debit module will once a day, using cron:
Connect to your bank
pull transactions from last 24 hours
create new statement in SEPA module containing fetched transactions
attempt to match imported statement rows with regex rules for matching clients / invoices