# Upload Vendors

A vendor is a person or business that supplies goods or services to a company. Another term for a vendor is a supplier or manufacturer. This article describes how you can upload vendors in batch into Xoro.

### Uploading Vendors

The vendors can be uploaded in three steps.

* Download the latest CSV Template from the “Upload Vendors” module.
* Copy vendor information into the CSV Template.
* Upload the CSV Template into Xoro.

### Downloading the CSV template file

* Go to **Upload Vendors** using the Search Menu.
* Click on **“Download Template”.**

### **Copying the information into the template**

Once you’ve downloaded the template file, you can copy your data using any spreadsheet software. There are columns that you must complete and others that are optional. Mandatory fields are marked with a double asterisk (\*\*) prefix.

Below are some points to be noted when entering the data into the template.

* The file must be a CSV (Comma-separated values) file. The name of your file must end with .csv.
* Make sure you don’t change any column headings from row 1 in the template; these are needed for the file to import correctly.
* All date fields will accept a format of MM/DD/YYYY or MM-DD-YYYY.
* Be mindful of any leading zeros in your data, some spreadsheet software will trim them automatically without notifying you. This can be resolved by ensuring your columns have correct formatting.
* Sometimes long numbers (UPC, etc.) are formatted as scientific notation. Be sure to change the formatting on this data to display these long numbers correctly.

{% hint style="info" %}
***If you’re importing more than 5,000 records, we recommend you split up the file.***
{% endhint %}

#### Upload Vendors Template Fields

<table><thead><tr><th width="286.3333333333333">Column Name</th><th width="111">Data Type</th><th>Description</th></tr></thead><tbody><tr><td>AccntNumber</td><td>Text</td><td>Enter the vendor’s account number. This can be a number from a previous system.</td></tr><tr><td>AlertNote</td><td>Text</td><td>Enter an alert note here for a vendor that will be displayed when the vendor is selected in applicable modules.</td></tr><tr><td>ActiveFlagStr</td><td>Text</td><td>Mark the vendor active or inactive.<br>Acceptable values: “Y” or “N”.</td></tr><tr><td>**PaymentTermName</td><td>Text</td><td>Enter the default payment term for this vendor. This payment term must already exist in Xoro and its name must be entered here exactly as it is in the Payment Term Centre.</td></tr><tr><td>NameOnCheque</td><td>Text</td><td>This is the vendor’s name on cheque to be displayed. When a payment is made with this vendor by cheque, this name is fetched by default.</td></tr><tr><td>BusinessNumber</td><td>Text</td><td>Enter the vendor’s business number.</td></tr><tr><td>isSaleTaxAgencyStr</td><td>Text</td><td>Select this if the vendor is a tax agency.<br>Acceptable values: “Y” or “N”.</td></tr><tr><td>LeadTimeDays</td><td>Numeric</td><td>Enter the lead time days for the vendor. This is the time it takes for the vendor to fulfill the orders.</td></tr><tr><td>**TaxCodeChar</td><td>Text</td><td>The vendor’s default tax code. This tax code will be applied to all items for relevant modules when this vendor is selected. This tax code must already exist in Xoro and its name must be entered here exactly as it is in the Tax Code Centre.</td></tr><tr><td>CreditLimit</td><td>Numeric</td><td>Enter the credit limit for the vendor.</td></tr><tr><td>MinOrdAmt</td><td>Numeric</td><td>The minimum order amount for this vendor.</td></tr><tr><td>**CurrencyCode</td><td>Text</td><td>The vendor’s currency. This must match the currency of the Accounts Payable.</td></tr><tr><td>**TypeName</td><td>Text</td><td>The vendor’s type. Choose from: Consultant, Manufacturer, Service Provider, Suppliers, Tax Agency.</td></tr><tr><td>VendorSinceDate</td><td>Text</td><td>The vendor has been with the company since this date.</td></tr><tr><td>**CompanyName</td><td>Text</td><td>The vendor’s company name. This must be a unique company name for the vendor.</td></tr><tr><td>JobTitle</td><td>Text</td><td>The vendor contact’s job title.</td></tr><tr><td>ContactFirstName</td><td>Text</td><td>The first name of the vendor’s contact.</td></tr><tr><td>ContactLastName</td><td>Text</td><td>The last name of the vendor’s contact.</td></tr><tr><td>MainPhone</td><td>Text</td><td>Enter the vendor's main phone number in this field.</td></tr><tr><td>WorkPhone</td><td>Text</td><td>Enter the vendor's work phone number in this field.</td></tr><tr><td>Mobilephone</td><td>Text</td><td>The vendor contact’s mobile phone number in this field.</td></tr><tr><td>Fax</td><td>Text</td><td>Enter the vendor contact’s fax number here.</td></tr><tr><td>EmailMain</td><td>Text</td><td>Enter the vendor contact’s main email here.</td></tr><tr><td>EmailCc</td><td>Text</td><td>Enter the vendor’s CC email in this field.</td></tr><tr><td>OtherConatctInfo</td><td>Text</td><td>Any other contact information for the vendor is captured in this field.</td></tr><tr><td>**DefaultAccountPayableName</td><td>Text</td><td>The default AP for this vendor. This account must already exist in Xoro and its name must be entered here exactly as it is in the Chart of Accounts.</td></tr><tr><td>**DefaultAccountExpenseName</td><td>Text</td><td>The default expense account for this vendor. This account must already exist in Xoro and its name must be entered here exactly as it is in the Chart of Accounts.</td></tr><tr><td>OpeningBalanceDate</td><td>Text</td><td>The opening balance date.</td></tr><tr><td>OpeningBalance</td><td>Text</td><td>If necessary, enter a positive or negative amount here for the vendor’s balance. This will generate a bill or vendor credit for the vendor and is handy for when creating a vendor with an existing balance.</td></tr><tr><td>ExchangeRate</td><td>Numeric</td><td>If an Opening Balance is entered, then the transaction will use this exchange rate.</td></tr><tr><td>StoreCode</td><td>Text</td><td>If an Opening Balance is entered, then the transaction will use this Store.</td></tr><tr><td>BillingPhone</td><td>Text</td><td>Enter the vendor’s billing phone.</td></tr><tr><td>BillingEmail</td><td>Text</td><td>Enter the vendor’s billing email.</td></tr><tr><td>BilledFromFirstName</td><td>Text</td><td>Enter the first name of the vendor.</td></tr><tr><td>BilledFromLastName</td><td>Text</td><td>Enter the last name of the vendor.</td></tr><tr><td>BilledFromCompany</td><td>Text</td><td>Enter the company name of the vendor.</td></tr><tr><td>**BilledFromAddr</td><td>Text</td><td>Enter the vendor’s billing address street name and number.</td></tr><tr><td>**BilledFromCity</td><td>Text</td><td>Enter the vendor’s billing address city.</td></tr><tr><td>**BilledFromState</td><td>Text</td><td>Enter the vendor’s billing address state or province.</td></tr><tr><td>**BilledFromPostalZipCode</td><td>Text</td><td>Enter the vendor’s billing address postal or zip code.</td></tr><tr><td>**BilledFromCountry</td><td>Text</td><td>Enter the vendor’s billing address country.</td></tr><tr><td>BilledFromPhoneNumber</td><td>Numeric</td><td>Enter the billing phone number of the vendor.</td></tr><tr><td>BilledFromEmail</td><td>Text</td><td>Enter the billing email of the vendor.</td></tr><tr><td>ShippedFromFirstName</td><td>Text</td><td>Enter the first name of the vendor.</td></tr><tr><td>ShippedFromLastName</td><td>Text</td><td>Enter the last name of the vendor.</td></tr><tr><td>ShippedFromCompany</td><td>Text</td><td>Enter the company name of the vendor.</td></tr><tr><td>**ShippedFromAddr</td><td>Text</td><td>Enter the vendor’s ship from address.</td></tr><tr><td>**ShippedFromCity</td><td>Text</td><td>Enter the vendor’s ship from city.</td></tr><tr><td>**ShippedFromState</td><td>Text</td><td>Enter the vendor’s ship from state.</td></tr><tr><td>**ShippedFromPostalZipCode</td><td>Text</td><td>Enter the vendor’s ship from zip code.</td></tr><tr><td>**ShippedFromCountry</td><td>Text</td><td>Enter the vendor’s ship from country.</td></tr><tr><td>ShippeFromPhoneNumber</td><td>Numeric</td><td>Enter the shipping phone number of the vendor.</td></tr><tr><td>ShippedFromEmail</td><td>Text</td><td>Enter the email of the vendor.</td></tr><tr><td>DefaultPaymentMethodName</td><td>Text</td><td>Enter the default payment method name.</td></tr><tr><td>DefaultCarrierName</td><td>Text</td><td>Enter the default carrier name.</td></tr><tr><td>DefaultShipMethodName</td><td>Text</td><td>Enter the default ship method.</td></tr><tr><td>DefaultShipServiceName</td><td>Text</td><td>Enter the default ship service.</td></tr><tr><td>DefaultShippingTermsName</td><td>Text</td><td>Enter the default shipping terms.</td></tr><tr><td>ShippingAccountNumber</td><td>Numeric</td><td>Enter the shipping account number for the vendor.</td></tr><tr><td>DefaultFobName</td><td>Text</td><td>Specify the freight on board - origin or destination for the vendor.</td></tr><tr><td>ImportError</td><td>Text</td><td>If there any errors from an upload, they will be listed in this column.</td></tr><tr><td>Custom Fields</td><td>Text</td><td>These fields allow you to enter the data for the custom fields defined for the vendor. Please note that in the Upload file, the field name for Custom Fields will be CustomFieldH1, CustomFieldH2, CustomFieldH3… It will not contain the name you have given to these fields</td></tr></tbody></table>

### Uploading the template

Once you have filled the CSV file with your data, you can follow the steps below to upload it into Xoro:

* The **Default Values** for required columns can be configured before the upload.
* If the data in the template is blank or incorrect, then the uploader will fallback and use these specified default values.
* Click **Browse** to select the saved CSV Template file.
* After the file has been selected, click **Verify & Upload** to start importing.
* While the import is in progress, the summary of the progress will be displayed at the bottom of the screen with the progress bar.
* After the import has been completed, the result will be displayed with the message for success or error (if any).
* Vendors will only get uploaded into the system if there are no errors in the file. If there are errors in the file, you can download the error file, fix the errors in the **Original File** and upload it back into Xoro.

{% hint style="info" %}
If you want to batch update the existing data, you can download the existing vendors by clicking **Download Existing Vendors**, update the necessary values in the CSV file, and upload it back into Xoro.
{% 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/utilities/data-imports/upload-vendors.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.
