> For the complete documentation index, see [llms.txt](https://kb.logicerp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/accounts/a-c-voucher/create-edit-references.md).

# Create/Edit References

**YouTube:** [How to Import BR/BP Reference Documents from Excel?](https://youtu.be/g6BNTQBlfdE)

## How to Import BR / BP Reference Documents from Excel?

In this tutorial, we will learn how to adjust a reference against many pending bills at once, using a list of bills in an Excel file in Logic ERP.

The **Import Reference Docs** option reads a list of order IDs or bill numbers with amounts from the file and adjusts the reference against the matching pending bills of the party, instead of selecting each bill manually. It does not create new references. We will also learn how to map the file columns, validate records, identify invalid entries, and adjust the valid ones.

***

### Open the Create or Edit References Window

* Navigate to the **Accounts** module from the main menu.
* Under **A/C Vouchers**, open **Create/Edit Refrences** (the menu spells it this way). The window opens with the title **Refrence Creation**.
* Enter the required **Party Name**.
* Enter the reference details, such as:
  * Reference Number
  * Reference Date
  * Reference Amount (must be more than zero before you can adjust)

Once the required details have been entered, select the **Day Book** (it decides whether receivable or payable bills are listed) and click on **Adjust BR/BP**. This opens the **Adjust Bills Receivable/Payable** window.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FKnuGWiflCf0yKECIbbNS%2FHeader.png?alt=media&#x26;token=d5cea2de-d1e1-46a2-802c-a879f174ec2c" alt=""><figcaption></figcaption></figure>

***

### Open Import Reference Doc

In the **Adjust Bills Receivable/Payable** window, locate the **Import Reference Docs** button.

This option lets you adjust against many bills from a file, reducing the need for manual selection.

* Click on **Import Reference Docs**. The **Import BR/BP Reference Documents** window opens.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FZQ7XbZnaJF4zb34cpOgU%2FImport%20Ref%20Doc.png?alt=media&#x26;token=c71a4730-9b86-4fb1-bcbd-38e19088b0ea" alt=""><figcaption></figcaption></figure>

***

### Configure the Excel Import

Click **Configuration** to open the **Import BR/BP Reference Configuration** window:

* Set **Import File Type** to **Excel File** (a **Text File** can also be used; for a text file you also set the column and row delimiters).
* Enter the column number of each field in the file:
  * **Order Id Field No.** and **Amount Field No.** are required.
  * **Day Book Field No.** and **Doc/Bill Field No.** are optional.
* Save the configuration under a name, then select it in the import window.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FlkJRLjO6gA6Dgov163oE%2FCNF.png?alt=media&#x26;token=1c0ebb9a-1f88-45a2-aff2-8faf0cf7e084" alt=""><figcaption></figcaption></figure>

Ensure that each Excel column is mapped to the correct field so the system can read the reference details accurately.

#### Select the Excel File

* In **File Path**, click **...** and select the required Excel file from your device.
* In **Select Sheet**, select the appropriate sheet.
* In **Header Row**, enter the row number that holds the column headings (it cannot be blank or 0).

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F2lzKkJ2jrr3cQY28mgIA%2FRefres.png?alt=media&#x26;token=b8202b84-ce7a-4452-9bbb-ee5a86ebe9ca" alt=""><figcaption></figcaption></figure>

* Click **Refresh** to read the data from the selected file.

***

### Validate the Reference Documents

* After clicking **Refresh**, the system reads the reference details from the Excel file and validates each record.
* The records are divided into two sections:

**Valid Documents**

* Records containing the required information and passing validation are displayed under **Valid Documents**.
* These records are ready to be imported into the system.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fecf6tVEKdNXnlpW4ziPl%2FValid.png?alt=media&#x26;token=87c442c9-d525-4f3c-923e-d964f88e29f7" alt=""><figcaption></figcaption></figure>

**Invalid Documents**

* Records that cannot be adjusted are displayed under **Invalid Documents**.
* To understand why, review the **Invalid Remarks** column. Common reasons:
  * The amount is blank, zero or negative.
  * No pending bill of this party matches the order ID / bill number / day book.
  * The value matches more than one pending bill (add the day book or bill number to the file).
  * The bill is already adjusted in this entry, or the amount left on it is less than requested.
  * The reference amount has already been fully used by earlier rows.
* Reading stops at the first row where the order ID is blank.

**Objective**

* This validation process helps you identify and correct data issues before importing the reference documents.

***

### Import the Valid Reference Documents

After reviewing the records:

* Check the entries displayed under **Valid Documents**.
* Review **Invalid Documents** and their **Invalid Remarks**, if any.
* Click **Ok** to adjust the valid rows against the party's pending bills. If a file amount is more than the bill's pending amount, only the pending amount is adjusted.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F69Kcpw6oa4dzP7gtiDa0%2FOK.png?alt=media&#x26;token=fa282617-82de-4033-8998-4982de6fb097" alt=""><figcaption></figcaption></figure>

* The system retrieves the valid reference documents for adjustment.

***

### Complete the Reference Adjustment

Once the valid references have been retrieved:

* Click **Close** on the **Adjust Bills Receivable/Payable** window to return to the **Refrence Creation** window.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F0WbLJuh9blpwXt9gRedS%2FClose%20BRBP.png?alt=media&#x26;token=e2c6bd02-52e5-4607-8e54-621589b5ff6b" alt=""><figcaption></figcaption></figure>

* Review the reference adjustment details.
* Click **Save** to save the entry.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FBYkbHm7U78Cfxygq8zDA%2FSave.png?alt=media&#x26;token=826a863c-f2d2-4b13-9b14-a654094f49e2" alt=""><figcaption></figcaption></figure>

**Result:** The bills listed in the file are adjusted in the entry, allowing you to process many bills together instead of adjusting each bill manually.

***

### Key Benefits

* **Bulk Adjustment:** Adjust against many bills from one Excel file.
* **Reduced Manual Entry:** Saves time compared with selecting each bill individually.
* **Data Validation:** Separates valid and invalid records before import.
* **Error Identification:** Uses Invalid Remarks to explain why a record failed validation.
* **Efficient Adjustment:** Helps simplify the process of adjusting multiple reference documents.

### Final Outcome

By using the **Import Reference Docs** option, you can read a list of bills from Excel, validate it, identify errors, and adjust the reference against the valid bills. After reviewing the imported references, save the entry to complete the process in Logic ERP.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/accounts/a-c-voucher/create-edit-references.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
