# Creating a Vendor Prepayment

Creating a vendor prepayment involves entering the vendor and payment details. When creating a vendor prepayment, you will begin by entering the essential information, such as the payment date, vendor name, address, payment amount, etc. You can also link a purchase order to the vendor prepayment when creating it.&#x20;

{% hint style="info" %}
To create a vendor prepayment, go to Menu > Purchase > Prepayment > Vendor Prepayment
{% endhint %}

#### Vendor Prepayment Fields

<table><thead><tr><th width="220">Field</th><th>Description</th></tr></thead><tbody><tr><td>Payment Date</td><td>This field allows you to enter the date when the payment was recorded.</td></tr><tr><td>Store</td><td>This field allows you to select the store associated with the transaction where goods or services will be delivered or rendered.</td></tr><tr><td>Vendor</td><td>This field allows you to search and select the vendor associated with the prepayment.</td></tr><tr><td>Payment Amount</td><td>This field allows you to enter the total amount of funds being paid in advance to the vendor.</td></tr><tr><td>Payment Method</td><td>Enter the method used to execute the payment, such as cash, check, wire transfer, or electronic payment.</td></tr><tr><td>Payment Account</td><td>Enter the checking/bank (asset) account from which the prepayment is made.</td></tr><tr><td>Asset Account</td><td>Enter the prepaid expenses (Asset) account in which the prepayment is recorded as an asset until the goods or services are received. </td></tr><tr><td>Address</td><td>This field displays the address of the vendor. Once the vendor is selected, this field will be auto-populated.</td></tr><tr><td>Exchange Rate</td><td>If the vendor is foreign, you can edit the exchange rate here.</td></tr><tr><td>Cheque Number</td><td>This field applies if the payment method is a cheque. Enter a number, or check the “Print Later?” option to print the cheque number later from the queue. The system will automatically generate the next cheque number from the system – it is incremented from the previous number.</td></tr><tr><td>Reference Number</td><td>Enter a reference number, if required, for tracking and referencing the prepayment transaction.</td></tr><tr><td>Memo</td><td>This field allows you to add any additional notes or information related to the prepayment.</td></tr><tr><td>Purchase Order Ref#</td><td>This field allows you to link the purchase order with the vendor prepayment directly from the payment module. Search and select the purchase order for which you want to record the prepayment.</td></tr><tr><td>Link PO Amount</td><td>Enter the amount corresponding to the purchase order that you want to want to link with the prepayment.</td></tr><tr><td>Link</td><td>Click on this button to link the purchase order and the corresponding amount. You can link multiple POs with a prepayment. All the linked PO(s) will be listed in the section below. </td></tr><tr><td>Purchase Order#</td><td>This field reflects the purchase order number to which the prepayment applies.</td></tr><tr><td>Amount</td><td>This field displays the purchase order amount that is linked with the prepayment.</td></tr><tr><td>Amount Applied</td><td>This field displays the portion of the prepayment amount applied to the purchase order(s).</td></tr><tr><td>Amount Refunded</td><td>This field displays the portion of the prepayment amount refunded, if applicable.</td></tr><tr><td>Amount Remaining</td><td>This field shows the balance of the prepayment still available to be applied to future purchases.</td></tr></tbody></table>

After completing all the details, click on "Save" to create a vendor prepayment. The system will automatically assign a unique number to the sales order in the format of VE-VP000001, where "VE" denotes the store code and 1 denotes a sequential series. This number will be displayed on the top left corner of the page. Once this number is generated, it becomes a permanent identifier and cannot be altered.

{% hint style="info" %}
Please note that when a Vendor Prepayment is made, a payment receipt email notification is automatically sent to the vendor's **Billing Email Address**. If the Billing Email is empty or unavailable, the email is sent to the vendor's **Main Email Address** instead.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.xorosoft.com/xoroerp-1/purchase/prepayment/vendor-prepayment/creating-a-vendor-prepayment.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
