This guide explains how to import GoCardless Direct Debit mandates that guests have already authorised into RMS, from a file, using the Mandate Imports view of the GoCardless Mandates screen.
What is Mandate Imports?
Mandate Imports is a view of the GoCardless Mandates screen that links existing GoCardless mandates to guest profiles in RMS from a comma-separated values (CSV) or text (TXT) file. A mandate is the guest's authorisation for the property to collect payments from their bank account through GoCardless.
Use Mandate Imports when your guests already have mandates in your GoCardless account, for example from before you connected GoCardless to RMS. Existing GoCardless mandates do not appear in RMS by themselves. RMS stores each mandate's references from the file and does not contact GoCardless during the import.
Please Note! Direct Debit (GoCardless) is currently only available to properties in Australia and New Zealand. For information about your region, contact the RMS Support Team.
Before you import mandates
Before you begin, make sure the following are in place:
- GoCardless is connected to the property. See Set up Direct Debit with GoCardless.
- Your Security Profile has Direct Debit (Bank Automation) (under Utilities) set to Yes, so you can open the GoCardless Mandates screen, and Allow User to Modify Direct Debit Mandate (under Guest Screens) set to Yes, so you can choose a file and see past imports.
- Each guest already has a Guest Profile in RMS, and you know each guest's Guest No and the property's ID.
- Your file follows the format in Prepare the mandate import file below.
- You have run the same import in the Training Database and checked the results.
Important! An import into your Live database cannot be undone. Run an identical import into Training first and check that all the data is correct. Requests to change data after an incorrect Live import incur charges from AUD $1,800.
Prepare the mandate import file
The mandate import file is a comma-separated CSV or TXT file with a header row and one row per mandate. Excel files are not accepted, so save an Excel workbook as CSV first. A file can be up to 25 megabytes (MB) and 50,000 rows.
The header row must contain all 14 columns in the table below. They can be in any order, and RMS ignores capital letters, spaces and underscores in the headers. Only PropertyId, ClientId and MandateId need a value in every row.
| Column | What to enter |
|---|---|
| PropertyId | Required. The property's ID, as a whole number. |
| ClientId | Required. The guest's Guest No, as a whole number. |
| MandateId | Required. The mandate's GoCardless ID, up to 255 characters. |
| MandateRef | The mandate's reference. RMS keeps the first 255 characters. |
| CreatedDateTimeUTC | The date and time the mandate was created, in Coordinated Universal Time (UTC), starting with the year, for example 2026-04-03 10:00:00. If empty, RMS uses the time of the import. |
| Status | The mandate's GoCardless status, for example Active. If empty, RMS sets Pending Submission. |
| BillingRequestId | The GoCardless billing request ID, if there is one. |
| AccountNumber | The guest's bank account number. RMS keeps only the last 2 characters. |
| AccountHolderName | The name on the bank account. RMS keeps the first 200 characters. |
| AccountBankName | The name of the bank. RMS keeps the first 200 characters. |
| LetterId | Must be present in the header. RMS ignores its values. |
| UserId | Must be present in the header. RMS ignores its values. |
| ExpireAtDateTimeUTC | Must be present in the header. RMS ignores its values. |
| MandateAuthorisationUrl | Must be present in the header. RMS ignores its values. |
How to import mandates
To open Mandate Imports, go to Utilities > GoCardless Mandates in the side menu of RMS, then follow the steps below.
- In Screen, select Mandate Imports.
- Select the file then click Browse and choose the file. To choose a different file, select Remove and browse again.
- RMS checks that the file has all 14 columns, then shows how many rows it has. Select Yes to import them.
RMS shows its progress as it imports each row, then shows "Import finished." with the number of mandates added and rejected. The file appears at the top of Recent imports.
If the file cannot be imported at all, RMS explains why, for example that it is not a CSV or TXT file, is larger than 25 MB, has more than 50,000 rows, or is missing required columns (the message lists them).
Why a mandate row is rejected
RMS checks each row of the mandate import file and rejects a row for the first of these reasons that applies:
- The MandateId is empty or longer than 255 characters.
- The ClientId or PropertyId is empty or not a whole number.
- The CreatedDateTimeUTC is not a date and time that starts with the year.
- The property does not exist, or you do not have access to it.
- The guest does not exist.
- The status is not recognised.
- The MandateId is already linked to a different guest.
A row for a mandate the guest already has in RMS, or that appears earlier in the same file, is skipped and counted as a duplicate, not as an error. Importing the same file again therefore adds nothing new.
What the Recent imports list shows
The Recent imports list on Mandate Imports shows every file imported for the property, newest first. The table below explains each column.
| Column | What it shows |
|---|---|
| File | The name of the imported file. |
| Download rejected rows | An icon that downloads a CSV file of the rejected rows, with the reason for each. |
| Records | The number of rows in the file. |
| Valid | The number of rows that passed the checks, including duplicates. |
| Errors | The number of rows rejected. |
| Duplicates | The number of rows skipped because the mandate was already linked to the guest. |
| User | The user who ran the import. |
| Imported | The date and time of the import. |
The rejected rows file lists the Row, MandateId, ClientId, PropertyId, Status and Reason for each rejected row. Fix those rows and import them again in a new file. RMS keeps each rejected rows file for 183 days.
What an imported mandate looks like in RMS
Each imported mandate appears on the guest's Direct Debit (GoCardless) tab and on the Manage Mandates view, with the status from the file. RMS sets the mandate's Chargeable Amount to Balance of Account and its Account Preference to every account type. To change these for several mandates at once, see Manage Direct Debit Mandates with GoCardless.
Related Articles
- Set up Direct Debit with GoCardless
- Use Direct Debit with GoCardless
- Manage Direct Debit Mandates with GoCardless
- Send Direct Debit Mandate Requests in Bulk with GoCardless
Comments
0 comments
Please sign in to leave a comment.