---
title: Transaction reports
slug: apis/lending/transaction-reports
description: Daily CSV file via SFTP with all loan-level transactions, payments, reversals, fees, modifications, with codes, amounts, and balance impact.
docTags: 
createdAt: 2024-08-12T08:55:11.456Z
---

## Transaction data

Transaction data enables Cross River to collect interest based on an adjusted loan balance. The table below is the transaction reference information for the files.

## File conventions

- File format: CSV.
- File transport mechanism: SFTP (SSH; supported public key algorithms RSA, sha2 521, sha2 384, sha 256).
- File location: \Prod\MPL\TransactionReports\MplId\_TransactionTape\_yyyymmdd.csv
- Naming convention: MplId\_TransactionTape\_yyyymmdd.csv, where yyyymmdd is the date of file generation.
- Report date: should match the date of the filename.
- Report data: should be from the day prior to the report date.

:::hint{type="info"}
* Make sure to provide a list of possible `TransactionCodes` and `SourceCodes`
* This file should include all borrower payments, payment reversals, cancellations, refunds, charge offs, loan modifications, and fee assessments.
:::

**Transaction code mapping table is below.**

## Dictionary updates

| Attribute                                                                                                                                                     | Action  | Date             |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | ---------------- |
| `Amount`<br />`BalanceImpactCode`                                                                                                                             | Added   | October 21, 2021 |
| `TransactionAmount`<br />`BalancePrior`<br />`PrincipalAmount`<br />`InterestAmount`<br />`LateFeeAmount`<br />`BalanceAfter`<br />`NextDueDate`<br />`Notes` | Removed | October 21, 2021 |

| Attribute                                                 | Description                                                                                                                                                                                                                                                                                                                                                               | Sample Record                           |
| --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------- |
| `TransactionId`<br />alphanumeric                         | Unique loan transaction ID. Use the ID from the servicing system.<br />Note that the TransactionId and TransactionCode must be unique.                                                                                                                                                                                                                                    | <br />123ABC456                         |
| `LoanId`<br />alphanumeric                                | Unique loan number                                                                                                                                                                                                                                                                                                                                                        | 777777-AAAAA                            |
| `TransactionDate`<br />date                               | Date the transaction was processed by the servicing system                                                                                                                                                                                                                                                                                                                | Format: yyyy-mm-dd<br />2014-11-10      |
| `SourceCode`<br />alphanumeric                            | An identifier used to describe the method of the transaction                                                                                                                                                                                                                                                                                                              | AAA                                     |
| `SourceCodeDesc`<br />alphanumeric                        | A description that correlates to the SourceCode identifier such as personal check, money order, AutoPay, etc.<br /><br />                                                                                                                                                                                                                                                 | <br /><br />ACH                         |
| `TransactionCode`<br />alphanumeric<br />                 | An identifier used to describe the type of transaction - use the transaction code from the servicing system.<br />Note that TransactionId and TransactionCode must be unique.<br />Use the ID in your servicing system - please provide mappings as outlined below.<br />Reversed transactions should have a different transaction code from the original transaction.    | <br /><br /><br />BBB                   |
| `TransactionCodeDesc`<br />alphanumeric<br /><br /><br /> | A description that correlates to the TransCode identifier such as boarding, scheduled payment, AutoPay fee payment, refund, cancellation, fee assessment, charged off principal, loan modification, etc.                                                                                                                                                                  | <br /><br />Principal payment           |
| `Amount`<br />numeric<br /><br />                         | Reflects the amount of this portion - TransactionId + TransactionCode.<br />---<br />**Note on operators:** A transaction that increases the balance should be positive (+), and a transaction that decreases the balance should be negative (-).<br />You should be able to **SUM** the transactions with the same balance impact code to arrive at the current balance. | <br /><br /><br /><br />277.85          |
| `BalanceImpactCode`<br />integer                          | Code that indicates the type of balance impacted by this TransactionId + TransactionCode<br />---<br />0 = No balance impact<br />1 = Principal<br />2 = Interest<br />3 = Fee                                                                                                                                                                                            | <br /><br /><br /><br /><br /><br />1   |
| `NonCashFlag`<br />bit                                    | A code that indicates if the transaction was cash or not.<br />---<br />0 - Cash transaction<br />1 - Other non-cash transaction                                                                                                                                                                                                                                          | <br /><br />0                           |
| ReversalIndicator<br />bit                                | A code that indicates the reason for a transaction reversal.<br />---<br />0 - Original transaction<br />1 - Reversal of original transaction                                                                                                                                                                                                                             | <br /><br />0                           |
| `ReversalReason`<br />alphanumeric                        | A description that indicates the reason for reversal such as ACH return, bounced check, etc.                                                                                                                                                                                                                                                                              | <br />ACH                               |
| `EffectiveDate`<br />date                                 | The date the transaction affected the loan                                                                                                                                                                                                                                                                                                                                | Format: yyyy-mm-dd<br />e.g. 2014-11-10 |
| `RemittedDate`<br />date                                  | The date the funds are remitted to CR                                                                                                                                                                                                                                                                                                                                     | Format: yyyy-mm-dd<br />e.g. 2014-11-10 |
| `PaymentOwner`<br />alphanumeric                          | Payment owner                                                                                                                                                                                                                                                                                                                                                             | CR                                      |

| TransactionCode | TransactionCodeDefinition                | PrincipalImpact (y/n) | InterestImpact (y/n) | FeelImpact (y/n) | CashFlag | TransactionAmountSign |
| --------------- | ---------------------------------------- | --------------------- | -------------------- | ---------------- | -------- | --------------------- |
| 123             | Principal paid by borrower               | y                     | n                    | n                | 1        | -                     |
| 456             | Principal adjustment (small $ write off) | y                     | n                    | n                | 0        | -                     |
| 789             | Interest paid by borrower                | n                     | y                    | n                | 1        | -                     |
| 120             | Refund principal                         | y                     | n                    | n                | 1        | -                     |
| 450             | Principal payment reversal               | y                     | n                    | n                | 1        | +                     |
| 111             | Late fee assessed                        | n                     | n                    | n                | 0        | +                     |
| 222             | Late fee paid                            | n                     | n                    | y                | 1        | -                     |

