When parsing or validation errors occur, the result file has the structure described in batch result files with validation errors.
RefundWithData line
The line record [L] holds the metadata information that applies to its corresponding sub-line [SL] records.
| Field # | Format | Description | 
|---|---|---|
| 1 | Fixed value:  | Record type identifier. | 
| 2 | Numeric | `L` line record number reference within the batch file block it belongs to. | 
| 3 | Fixed value:  | Account type. | 
| 4 | Alphanumeric | Specifies the merchant account name. | 
| 5 | Fixed value:  | Processing type. If the column shows  | 
| 6 | Alphanumeric | A merchant reference, that is, a unique identifier associated to a specific transaction. | 
| 7 | Allowed values: 
 | Transaction status.   | 
| 8 | Alphanumeric | 
 | 
RefundWithData sub-line
| Field # | Format | Description | 
|---|---|---|
| 1 | Fixed value:  | Record type identifier. | 
| 2 | Numeric | `SL` sub-line record number reference within its parent line. | 
| 3 | Fixed value:  | Result type identifier. | 
| 4 | Alphanumeric | The original payment PSP reference. | 
| 5 | Alphanumeric | Authorisation code: 
-   When the payment is authorised successfully, this field holds the authorisation code for the payment. 
-   When the payment is not authorised, this field is empty. | 
| 6 | Alphanumeric | Result code, if available. | 
| 7 | Alphabetic | When the payment is not authorised, it is refused, or if an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error.
Possible error messages:
-   Transaction not found
-   Transaction is expired
-   Insufficient balance on payment
-   Only possible to refund the full amount
-   Only possible to capture the full amount
-   Modification in different currency than authorisation
-   Internal error
-   Operation not available
-   Operation not allowed
-   Operation failed
-   Recurring not supported for this payment method
-   Recurring transaction failed
-   Recurring contract is not active
-   Recurring contract not found
-   Recurring initial payment not found
-   Recurring initial payment not available
-   Recurring contract already exists
-   Fund Transfer not supported for this payment method
-   Fund Transfer failed
-   Fund Transfer: initial payment not found
-   Fund Transfer: Original Transaction is never authorised
-   The payment details have expired
-   Fund Transfer: unable to transfer to this bankaccount
-   InvoiceLines are incorrect
-   Incomplete or invalid payment details
-   No suitable capture found for partial refund
-   Invalid referral authorisation code | 
Example
FH,1.0,TEST,Company,TestCompany,Default,1,ws@Company.TestCompany,RefundWithData,FileHeaderEchoData
BH,1,BlockHeaderEchoData 
L,1,MerchantAccount,TestMerchant,RefundWithData,MerchantReference,Received, 
SL,1,RefundWithDataResult,9913963568780883,,Received, 
BT,1 
FT,1