> ## Documentation Index
> Fetch the complete documentation index at: https://help.kwentra.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Import AR Payments

> Import opening AR payments from a CSV or Excel file when a property goes live.

Import opening AR payments from a CSV or Excel file when a property goes live.

> [accordion] Business Value
>
> * Loads a property's opening AR payments from one file.
> * Saves entering each payment by hand.
> * Checks every line the same way as the AR payment screen.
> * Imports nothing until the whole file is correct.

> [accordion] Use Cases
>
> * An implementation user loads a property's open AR payments at go-live.
> * An implementation user fixes the listed lines and uploads the file again.
> * An accountant applies the imported payments to invoices later.

### **How It Works**

| **Where:** Back Office → Accounts Receivable → Import AR Payments |
| - |

| **Note:** Only kwentra staff can use this screen. It needs the **Can import AR payments** permission, which only the hidden Staff role has. Other users, including Administrator and Financial Controller, do not see it. Opening its link shows the permission-denied page. |
| - |

#### **Import a File**

1. Open **Import AR Payments**. A help section explains the columns.
2. Upload a CSV or .xlsx file.
3. Fix any errors the screen lists, then upload the file again.

* If any line has an error, nothing is imported. Every error shows with its line number.
* Large files with thousands of lines import in the background.
* A user with no cashier cannot import. You see **Could not find a cashier associated with the current user.**

#### **File Columns**

| Column | Required | Rule |
| - | - | - |
| **AR Account Number** | Yes | Must exist. |
| **Date** | Yes | Uses your property's date format. Past, today and future dates work. It cannot fall inside a GL restricted period. |
| **Department Number** | Yes | Must exist, and the AR payment screen must accept it. |
| **Base Currency Amount** | Yes | At least 0.01. |
| **Foreign Currency Amount** | Yes | At least 0.01. Must equal the Base Currency Amount for a base currency department. |
| **Comment** | No | Up to 100 characters. |

There is no Currency column. The payment takes the currency of its department, like a manual AR payment.

For a foreign currency department, the file sets the exchange rate: **Base Currency Amount** ÷ **Foreign Currency Amount**.

#### **What Each Line Creates**

Each line creates an AR payment, as if you entered it on the AR payment screen. This includes the GL journal voucher.

* **Unallocated:** the payment shows as open credit on the AR account. Apply it to invoices later, in the normal way.
* **Dated before the audit date:** posted automatically on its date.
* **Dated on the audit date or later:** created unposted. The night audit posts it on its date.

Where you see the payments:

* AR account statements and AR balances include them.
* The **Unaddressed Deposits** figure on the AR account includes every payment right away.
* The aging report shows a payment once it is posted.

#### **Lines That Are Rejected**

Every line gets the same checks as a manual AR payment. These lines are rejected:

| The line | Error message |
| - | - |
| The department is a debit department | Department X type should be credit only |
| The department is inactive | Department X is inactive |
| The department is not marked as receivable | Department X is not marked as receivable |
| The department's payment type is city ledger | Department X payment type cannot be city ledger |
| The department's payment type is loyalty | Department X payment type cannot be loyalty |
| A credit card department on a credit card company AR account | AR payment is not allowed on credit card department on credit card AR account. |
| A credit card department whose card company has no AR account | Department X credit card company has no AR account |
| The date is inside a GL restricted period | Cannot import the AR Payment as its Date falls within a GL Restricted Period. Please change the Date of the Payment or contact your financial controller. |
| A base currency department with two different amounts | Base Currency Amount and Foreign Currency Amount should be equal for base currency department X |
| An amount is zero or negative | X cannot be less than or equal zero |
| An amount is above zero but below 0.01 | X cannot be less than 0.01 |
| The exchange rate is above 9999.999999 | Exchange rate (Base Currency Amount ÷ Foreign Currency Amount) cannot be more than 9999.999999 |

A credit card department works on a normal AR account.

These lines are rejected too:

* A required field is missing.
* The account or department does not exist.
* The date format is wrong.
* The comment is over 100 characters.

#### **One AR Import at a Time**

**Import AR Payments** and **Import AR Balances** cannot run together on one property. If one is running, a second one is refused and imports nothing. The running import continues.

The refused import shows **Import Failed: Dropping task** and one of these messages:

* Refused AR payments import: **Another task is running for import\_ar\_payments**
* Refused AR balances import: **Another task is running for import\_ar\_main\_postings**

#### **What the Import Does Not Do**

* It does not link payments to invoices.
* It has no reference or receipt number column.

To enter one payment by hand, see [How to make a payment for an AR account](https://help.kwentra.com/back-office/accounts-receivable/how-to-make-a-payment-for-an-ar-account.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.