Importing a file
- In your Merchant Back Office, go to the following menu: Management > Payment orders.
- Click Import, then Invoice payment orders.
- Select the shop with which you wish to create the payment order.
- Two actions are available:
- Control file format.
This option allows to control the structure and the file content.
In case of error, a report appears indicating the detected error and the line that contains it.
If the file is valid, a new window will prompt you to import the file.
- Import a file.
This option allows to control the structure and the file content and then create payment orders based on the file content.
In case of error, a report appears indicating the detected error and the line that contains it.
If the file is valid, a confirmation message is displayed. If you confirm the import, the payment orders are created.
- Control file format.
The tables below present the different types of errors related to the invoice payment orders.
- Errors in the Header record line
Error message Description Incorrect header The first line of the file must be presented as follows “01;shopId;MODE;INVOICE". Incorrect header version The first field of the header must be set to "01". Wrong Shop ID The Shop ID must contain 8 digits and must correspond to the Shop selected for the file import. Incorrect mode Two possible values: "TEST" or "PRODUCTION". Via the test “TEST payment orders” menu you cannot send the PRODUCTION value.
Via the “Payment orders” menu you cannot send the TEST value.
Incorrect channel The channel must be set to "INVOICE". - Errors in the Detail record line
Error message Description Wrong number of parameters This message is returned in the following cases: - The line is empty
- One or several parameters are missing from the line
- There is one or several extra parameters on the line
Invalid action Only the PAYMENT value is authorized for an invoice payment order. Invalid reference The invoice reference cannot be empty and must not exceed 64 characters. Duplicate invoice reference in the file An invoice payment order already exists with this reference. Missing amount The amount cannot be sent empty. Invalid amount The amount must be higher than 0 and must be expressed in the smallest unit of the currency. Missing currency The currency cannot be sent empty. Incorrect Currency The transmitted value must correspond to the ISO 4217 code (numeric code) of the company currency. Invalid e-mail The transmitted e-mail address does not match the expected format. Invalid validation mode Possible values: 0 or 1. Invalid expiry date Cannot be before the current date and may not exceed 90 days. Invalid VAT rate The transmitted VAT rate does not match the expected format. Invalid 3DS preference Possible values are - FRICTIONLESS
- NO_PREFERENCE
- CHALLENGE_REQUESTED
- CHALLENGE_MANDATE