Back

Importing Clients’ Data

The system lets you import your clients’ data in bulk from an Excel file instead of entering them manually one by one, which saves time and reduces errors. You can also set the Opening Balance for each client during the import, so it appears later in Client Payments and in the client’s statement.

🛈

Permissions: You need the permission Add New Client in your role to open the import page.

The Clients List Name According to the Account’s Business Field

The name of Clients in the system changes according to the business field you chose when you signed up, so it appears with the name that suits your work. For example:

  • In hospital and clinic accounts, the clients list appears as Patients, and the word client appears as Patient.
  • In school and education accounts, the clients list appears as Students, and the word client appears as Student.

Whatever the name shown in your account, it is the same clients list in the system. So you import patients’ or students’ data with the same steps in this article, from the list that appears in your account and its Import button.

🛈

Warning: There is no separate import for patients or students. Don’t use the employees import to enter them, because it adds them as employees in HR. Enter the patient’s or student’s name in the column Business Name. The field names in your account may appear with your business field’s name instead of the word “Client”.

How to Access

  1. From the main menu, click Clients (or the name shown in your account according to the business field, such as Patients or Students).
  2. Click Manage Clients.
  3. Click the Import button at the top of the list.

Or open the page directly: Import Clients.

Steps to Import Clients’ Data

Before You Start: Preparing the Data File

🛈

Note: There is currently no Download Sample button on the clients import page. Prepare the data file yourself as explained below, and you will link its columns to the system fields in the step Fields Mapping.

  • Prepare the file in xlsx or xls or csv.
  • Write the column names in the first row, such as Business Name, Telephone, and Email, then put each client in a separate row.
  • The file must have at least two columns; the system doesn’t accept a file with one column, even if it is the names column only.
  • If you will include opening balances, add the two columns Opening Balance and Opening Balance Date.
  • Review the current clients list to avoid duplicating a client who is already registered.

Step One: Uploading the File

  1. In the field File to Import choose the data file.
  2. If the file is csv, choose the delimiter used in it from the field Delimiters. This field doesn’t appear with Excel files.
  3. Enable Import First Row only if the first row contains a client’s data. Leave it disabled if it contains the column names.
  4. Click Next Step.

Step Two: Fields Mapping

  1. On the Fields Mapping screen, choose for each System Field Corresponding Field in File.
  2. A field you don’t link to a column stays empty in the client’s data.
  3. To update existing clients instead of duplicating them, enable the update option as in Updating Existing Clients’ Data.
  4. Click Import.

Fields Explained

Field Description Required?
Business Name The client’s or company’s name, or the patient’s or student’s name according to the account’s business field. Yes
First Name / Last Name The contact person’s name. No
Email Not repeated between two clients, and used to identify the client when updating. No
Client Number Not repeated between two clients, and used to identify the client when updating. No
Telephone / Mobile Contact numbers. No
Address and country fields The address, city, district, postal code, and country. No
Opening Balance The amount due from the client before starting to use the system. No
Opening Balance Date The date the opening balance is recorded. No
Type / Client Gender / Price Group The client’s classification data. No
VAT Number / C.R / Unified Number The client’s tax and commercial numbers. The two columns appear on the Fields Mapping screen with the names used for these two fields in your account; in Saudi accounts they are VAT Number and C.R / Unified Number. Name the column in your file the same way so it is matched automatically. No
Government EntitySaudi accounts with the E-Invoice add-on only Values: Yes / No (1 / 0 are also accepted; an empty cell or any other value means No). With Yes, the Business client is treated as a government entity: its number is treated as the Contract / Registration / License Number and the VAT Number is not required. The column is matched automatically when it is named Government Entity or government_entity. No
Identifier TypeSaudi accounts with the E-Invoice add-on only

The kind of number recorded for the client in C.R / Unified Number (or the national ID for an Individual client). It is the buyer identifier scheme sent to ZATCA with the e-invoice. The column is matched automatically when it is named Identifier Type or identifier_type.

Accepted cell values: the code (CRN, MOM, MLS, SAG, 700, TIN, NAT, IQA, GCC, PAS or OTH, in any letter case), the English label, or the Arabic label as shown in the account:

Option (as shown in the account) Code Accepted format
Commercial Registration CRN exactly 10 digits
MOMRAH License MOM up to 5 digits
MHRSD License MLS up to 10 digits
MISA License SAG 10 to 16 letters or digits
700 Number 700 10 digits starting with 7
Tax Identification Number TIN 10 digits starting with 3
National ID NAT 10 digits starting with 1
Iqama Number IQA 10 digits starting with 2
GCC ID GCC 7 to 20 letters or digits
Passport Number PAS one letter followed by digits
Other OTH up to 20 letters or digits
No
Custom fields Any field you added to the client form appears in the list and can be linked. Depending on the field setting

Updating Existing Clients’ Data

Enable Update an existing Client with new data, then choose the field the system identifies the client by:

  • All required fields: the system searches for the client by Email or Client Number.
  • A specific field: Email or Client Number or Telephone or Mobile.

If the system finds a matching client, it updates their record; otherwise, it creates a new client. If you don’t enable the option, each row is added as a new client.

Following the Import Process

  • The import runs in the background, and you move to a follow-up page that shows the number of records Successful, Failed, and In progress.
  • When it finishes, the message Importing was completed successfully.
  • If the process stops before it is complete, click Resume to complete it.
  • The system completes importing the valid rows even if some rows fail.

Rules and Restrictions

  • Accepted formats: xlsx, xls, and csv.
  • The file must have at least two columns; the system doesn’t accept a file with one column, even if it is the names column only.
  • The field Delimiters appears with csv files only, and doesn’t appear with Excel files.
  • Business Name is the only required field, and you can’t proceed to the import without linking it to a column.
  • Email and Client Number aren’t repeated between two clients.
  • A row that contains a value in a wrong format is ignored, and the import of the other rows continues.
  • The import is a one-time process for each file, and there is no ongoing link that updates the data automatically when the Excel file is edited. To add new clients later, import a new file.
  • The columns Government Entity and Identifier Type are available only in Saudi accounts where the E-Invoice add-on is active. In other accounts, or without the add-on, the two fields don’t appear on the Fields Mapping screen and the column is ignored. If your account is Saudi and they don’t appear, activate the E-Invoice add-on and open the import page again.
  • The import doesn’t validate the Identifier Type value or whether the number matches the type’s format; an unknown value is saved as typed and is rejected only when the client is saved from the client page or when the e-invoice is sent. So check the column values before importing, and correct any wrongly saved value from the client page.
  • A client whose country is not Saudi Arabia is automatically assigned the identifier type Other.
  • A 10-digit number starting with 7 can be either a Commercial Registration or a 700 Number, and the system never guesses it; type its kind explicitly in the Identifier Type column, otherwise the type stays empty until you choose it on the client page.

Error Messages

Message Cause Solution
Sorry, it is not allowed to import one column file, make sure you have selected a file with the correct format The file has only one column, or you chose the wrong Delimiters for a csv file, so the system read all the columns as one column. Add at least a second column, such as Telephone or Client Number, or choose the delimiter that matches the csv file, or save the file as xlsx.
Please, enter the value for all required inputs marked with “*” You didn’t link the field Business Name to a column in the file. Link the field to the column that contains the client’s name.
Input error [row number] : [column name] has a wrong format… ignored A value in the row has an incorrect format, such as a wrongly written date. Correct the value in the file and import the row again.

The Effect on the System

  • New clients’ records are added to the clients list, and matching records are updated when the update option is enabled.
  • For each client with an opening balance, a transaction is recorded in Client Payments with the payment method Opening Balance, and the following entry is created:
Account Debit Credit
Client account 1,000 —
Opening Balance — 1,000
Total 1,000 1,000

Imported opening balances work like balances entered manually from the client’s page. To delete a balance imported by mistake, select it in Client Payments and delete it, so the entry linked to it is deleted.

Frequently Asked Questions

Why isn’t there a Download Sample button on the clients import page?

There is currently no Download Sample button in the clients import. The import doesn’t need a file with a fixed format, because you link your file’s columns to the system fields in the step Fields Mapping. Prepare a file with a first row for the column names and a row for each client.

I have a list of client names only. How do I import it?

Add at least a second column next to the names column, such as Telephone or Client Number, even if you leave some of its cells empty. Write the column names in the first row, put each client in a row, then save the file as xlsx or csv. In the step Fields Mapping link the names column to the field Business Name. The system doesn’t accept a file with one column.

The Delimiters field doesn’t appear to me. Why?

The field Delimiters appears with csv files only. If your file is xlsx or xls, it doesn’t appear, and the system reads the columns automatically.

How do I import new students’ data from an Excel file?

Students in education accounts are the clients themselves in the system with a different name. Open the list Students then click Import. Prepare a file with a row for each student, entering their name in the column Business Name, then upload the file, link the columns, and click Import.

How do I import patients’ data in a hospital or clinic account?

Patients are the clients themselves in the system with a different name. Open the list Patients then click Import, and follow the same steps in this article, entering the patient’s name in the column Business Name.

Do I have to enter an email or phone number for each client?

No. The only required field is Business Name, and the other fields are optional. But the file must have at least two columns, even if the cells of the second column are empty.

Can the Excel file be linked to the system to update automatically?

No. The import is done once for each file. To add new clients or update their data, import a new file and enable the update option when needed.

I imported the file and the clients were duplicated. Why?

Because the option Update an existing Client with new data wasn’t enabled. Enable it next time, and choose the field the system identifies the client by.

Where do I find the imported opening balances?

In Client Payments with the payment method Opening Balance, and in each client’s statement.

How do I fill in the Identifier Type column in the import file?

Add a column named Identifier Type to your file so it is matched automatically in the Fields Mapping step, and write in each cell the type’s code or its English or Arabic label, such as CRN or Commercial Registration, 700 or 700 Number, NAT or National ID, and OTH or Other. An example row in the file:

Business Name Mobile C.R / Unified Number Identifier Type Government Entity
Al Noor Trading Co. 0551234567 1010123456 CRN No

The column appears only in Saudi accounts with the E-Invoice add-on. The import doesn’t validate the value or the number’s format, so a wrong value is saved as is and is rejected when the e-invoice is sent; check the values before uploading, and correct any wrongly saved value from the client page.

I imported the clients without the Identifier Type column. What happens?

The system sets the type automatically from the shape of the number when it is unambiguous; a 10-digit number starting with 3 is saved as Tax Identification Number, and a client whose country is not Saudi Arabia gets Other. If the number can belong to more than one type, such as a 10-digit number starting with 7 (Commercial Registration or 700 Number), the type stays empty. In that case open the client page, choose the Identifier Type, and click Save before issuing the next e-invoice; otherwise the message Please select the identifier type of the C.R / identifier number appears and the invoice is not sent.