UAE E-Invoicing Settings
This window holds the UAE e-invoicing settings in alameen ERP 10: the registry date, the connection to the e-invoice provider, invoice numbering, company information, the accepted lists of countries, emirates, currencies and units, and the technical support settings. This page describes each page, what it saves and when. For the steps, see Set up e-invoicing in the UAE.
Opening the window
Click Systems > UAE Taxes > E-Invoice Settings. If the GCC tax system is not active in the file, the group is named Taxes.
The command appears only when all of these hold:
- Your licence includes the UAE e-invoicing feature.
- The UAE e-invoicing system is active in the file.
- The user has the permission E-Invoice Settings in Users Management > Operations.
When you click the command:
- If other windows are open, the program asks: "All opened windows must be closed before performing this operation. Are you sure you want to do this?". Click Yes to close them. Click No and the window does not open.
- The program puts the file in exclusive mode while the window is open. Other users cannot log on to the file meanwhile. If another user already holds exclusive mode you see "The files are in exclusive mode, you can't log on to the files now." and the window does not open.
- When you close the window the file leaves exclusive mode and the program reloads the settings.
The window and its page list
The window has a list of nine pages beside it. The selected page fills the rest. The window opens on the first page, General.
| Page | What it sets |
|---|---|
| General | The registry date, and moving old invoices outside the system. See General. |
| E-Invoice API | The connection to the provider. See E-Invoice API. |
| Numbering Options | The shape of the invoice serial number. See Numbering Options. |
| Company Info | Company data you retrieve from the provider. See Company Info. |
| Accepted Countries | The accepted countries, read-only. See Countries, emirates and currencies. |
| Local Arab Emirates | The accepted emirates, read-only. |
| Accepted Currencies | The accepted currencies, read-only. |
| Accepted Units | The unit list where you choose what is accepted. See Accepted Units. |
| Technical Support Settings | Showing service responses, and the trace file. See Technical Support Settings. |
Window buttons
| Button | What it does |
|---|---|
| Ok | Checks all the pages in list order. At the first page that refuses it opens that page, shows its message and the window stays open. If the check passes, it writes the registry date, the numbering options and the accepted units, then saves the provider settings and the support settings together, adds the event Modify Tax Settings to the program log, and closes the window. If the save does not complete, the window stays open. This button does not save company data that you retrieved and did not save. See Company Info. |
| Save current page | Checks only the page on display, then saves it, shows "Settings saved successfully", adds the event Modify Tax Settings to the log, and reloads the settings. Use it to save Company Info. |
| Close | Closes the window without saving what you changed on the pages. If you changed something the program asks before closing, as in other native windows; see Account card. It does not undo what was written at once. See the last table in Messages. |
Save current page takes one page; Ok works on all pages. So Ok cannot close the window while the E-Invoice API page is incomplete. See E-Invoice API.
General
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Version Number | Shows the version number of the e-invoicing system the program implements. | No | Display only. The value is 0.03. |
| Registry Date (in the group Activate E-invoice System) | The date from which e-invoicing applies. An invoice dated before it is not sent, and can be moved outside the system. | No | A date, such as 1-1-2026. The field is locked while any sales or sales return invoice in the file has a status other than Not prepared. Outside the System counts as a status other than Not prepared. While it is locked the program does not save what you type. |
| Button | What it does |
|---|---|
| Move Invoices Outside the System | Changes sales and sales return invoices dated before the Registry Date to Outside the System. It works only on invoices of commercial customers whose status is Not prepared. |
The button is disabled unless both hold: the file has an invoice that fits, and the Registry Date in the field is the one saved in the file. If you edited the date, save it first with Save current page.
When you click the button:
- The program asks, with the title "Change invoices to Outside the System status": "Are you sure you want to change invoices dated before the subscription date to Outside the System status?". Click Yes to continue, or No.
- The program converts the invoices and adds an event to the log of each one. If it converted at least one invoice it shows "Operation successfully completed" with the number of invoices below it.
- The program reloads the page. After the conversion the Registry Date is locked, because the invoices now have a status other than Not prepared.
This button works only on sales and sales return invoices. The command Move invoices outside the system in the Tax Invoices List works on any invoice shown in the list whose status is Not prepared and whose date is before the Registry Date.
E-Invoice API
This page sets the connection to the e-invoice provider through which you send invoices.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Server Name | The kind of service you connect to. | Yes | Actual or Test (Demo). In a file where nothing has been saved yet it is Test (Demo). When you change the choice the program puts the usual address of that kind in Service URL, replacing what you typed. |
| Service URL | The address of the provider's service. | Yes | Must start with http:// or https://. If it is empty when the page opens, the program fills in the address of the chosen kind. |
| User | Your company identifier at the provider (Company ID). | Yes | The value your provider gives you. |
| Password | The connection key (API Key) the provider generates for you. | Yes | The field shows stars. The value is the one your provider gives you. |
| Button | What it does |
|---|---|
| Open Site | Opens the provider's site for the chosen Server Name in your browser. |
| Check Connection | Tests the connection with the values now in the fields, not with the saved ones. |
At the bottom the page shows a group of six steps to carry out in the provider's control panel. The group title and the steps appear in Arabic in the English program too. They are explained in Set up e-invoicing in the UAE.
Check Connection
- The program checks the fields as it does when saving. If one is missing its message appears and you stay on the page. See Messages.
- It shows a progress bar titled "Connecting to Web Service".
- If the connection succeeds you see "Operation successfully completed".
- If it fails you see an error message with an English description of the cause, then the status code if there is one, then the text of the service reply if there is one. Before it, the service response window may appear, or the message "Failed to prompt service".
The program records this request in the trace file if the logging level includes it. See Technical Support Settings.
What is checked and saved
On Ok or Save current page the program checks the page in this order: Service URL is valid, then User, then Password. At the first error it goes to this page and shows the message. When the check passes it writes the four values to the file.
Numbering Options
This page sets the shape of the serial number the program gives each invoice when it prepares it for sending. The number is the file code, then the year code, then a counter padded with zeros on the left.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| E-invoice Sequential Number Format | Turns on number formatting. | No | If you clear it, the two options under it are cleared too, and the number is a plain counter with no zeros and no codes. |
| Numeric part format of sequential Number with set digits | Pads the counter with zeros to a fixed number of digits. | No | Available once the format is ticked. |
| Digits list (beside the option above) | The number of digits of the numeric part. | Yes when the option is ticked | From 6 to 10. The default is 10. The text "Degits count between 6 and 10" sits beside it, spelled so on screen. |
| Use Sequential Number codes format ( not more than 8 characters) | Adds fixed codes at the start of the number. | No | Available once the format is ticked. |
| File | The file code. | Yes if the file digits count is above zero | Available when you set a file digits count. Its length is exactly that count. |
| Year | The year code. | Yes if the year digits count is above zero | Available when you set a year digits count. Its length is exactly that count. |
| "Digits count: …" (three texts) | Show the total, then the digits of File, then the digits of Year. | Display only. Only those above zero are shown. | |
| Sample number (the coloured box at the bottom) | Shows the shape of the number when the counter is 1. | Display only. It changes with every edit. |
| Button | What it does |
|---|---|
| Codes | Opens the Symbols Count dialog to set the length of the file code and the year code. Available once the codes option is ticked. |
Example. The file code has two digits AB, the year code has two digits 26, and the numeric part has 6 digits. The sample number is AB26000001. If you set only a file code of one digit A and the numeric part to 8 digits, the sample number is A00000001.
When the page is locked
If the file has any invoice that took a serial number, meaning its status is neither Not prepared nor Outside the System, all the options on the page are disabled and the program saves none of them. Choose the numbering format before you send the first invoice.
Checks on save
On Ok or Save current page the program checks the page in this order. At the first error its message appears. The settings are written to the file in one go if the check passes.
- The number format is ticked with neither the numeric part nor the codes: the message appears with the title "Numbering options error".
- The numeric part is ticked and its digits are outside
6to10. - The codes are ticked and their total digits are outside
1to8. - The length of the file code is not the digits count set: the message appears with the title "File code error".
- The length of the year code is not the digits count set: the message appears with the title "Year code error".
Symbols Count
You open it with the Codes button. It shows the text: "This window enables you to set symbols count to be used in electronic invoices numbering, the symbol cannot be deleted or edited after use it." and "The total cannot be more than 8 digits."
| Field | Description | Required | Values and rules |
|---|---|---|---|
| File | The digits count of the file code. | Yes | From 0 to 8. |
| Year | The digits count of the year code. | Yes | From 0 to 8. |
| Total (the coloured box) | The sum of the two. | Updates with every change. |
| Button | What it does |
|---|---|
| Ok | Checks that the total is above zero and not above 8. If not, it shows "Total code digits count not allowed" and the dialog stays. If so, it returns the lengths to the Numbering Options page. It writes nothing to the file until you save the page. |
| Close | Closes the dialog without a change. |
After Ok the page shows "Digits count: …" for each code, and the File or Year box becomes available if its digits count is above zero.
Company Info
This page shows your company's data as the provider holds it, and retrieves it on request. The program uses it when sending invoices.
| Item | Description | Values and rules |
|---|---|---|
| Information list | Two columns: ID and Value. | Read-only. It shows the non-empty fields the provider returned. Known field names appear with these titles: Company Name, Company Latin name, Trade Name, Legal form, Tax number (TRN), Tax number (TIN), Endpoint Identifier (Endpoint ID), Country, Region, City, Street, ZIP Code. Any other name appears as the provider sent it. |
| Last Update Info | The date and time these data were last saved. | Display only. Its colour turns orange after a retrieval, until you save. |
| Button | What it does |
|---|---|
| Retrieve company information | This is the name while no data is saved, and the list is hidden. It asks the provider for the company data. |
| Update company data | The same button once data is saved, and after every retrieval. It asks for the data again. |
When you retrieve:
- The program shows a progress bar "Updating company information".
- The list shows the data that came back, and Last Update Info shows the time of retrieval. Nothing is saved yet.
- Click Save current page to store the data. The program stores the new value, keeps the previous one, and records the time.
- If the save fails you see "Could not save company information." and the old data stays.
- If the retrieval fails the program shows the service response window or an error message, then the service message, and the list does not change.
The Ok button of the window does not save company data you retrieved. If you close the window with Ok or Close before Save current page, the retrieved data is lost and what was saved before stays.
Countries, emirates and currencies
The pages Accepted Countries, Local Arab Emirates and Accepted Currencies have the same layout. They show the lists that the e-invoicing system accepts, and nothing on these pages changes them. When the program checks invoices it compares the codes of countries, emirates and currencies with these lists.
| Item | Description | Values and rules |
|---|---|---|
| Search box | At the top of the page. | Type part of the code or the name to move to an item that contains it. |
| List | The page items, in the form "code - name". | For choosing only. |
| Details > Code | The code of the chosen item. | Read-only. |
| Details > Name | Its Arabic name. | Read-only. |
| Details > Latin Name | Its Latin name. | Read-only. |
| Button | What it does |
|---|---|
| Show country card (on Accepted Countries) | Opens the country card in the file whose code or name matches the chosen item. If there is none, it opens the card filled with the item's code, name and Latin name. |
| View Emirate Card (on Local Arab Emirates) | Opens the city card whose code or name matches the chosen emirate, or a card filled with its data if there is none. |
| Show exchange rates (on Accepted Currencies) | Opens the currencies and exchange rates window. |
To correct the codes on country, emirate and currency cards use Administration Tools > Repair Data to Meet E-Invoice Requirements.
Accepted Units
This page has the layout of the previous ones, but each item has a check box. The ticked items are the units the program accepts on item cards and invoices.
| Item | Description | Values and rules |
|---|---|---|
| Search box, list and Details | As on the previous pages. | The list shows all the units of the table. Ticked units come before unticked ones. |
| Check box of each item | Accept the unit or not. | Changing any box marks the page as changed. |
| Button | What it does |
|---|---|
| Show material card | Opens the material card window. |
| Open Source Website | Opens in your browser the site of the list of unit codes the system uses. |
The choice is saved on Ok or Save current page if you changed something: the program clears the acceptance of all units, then accepts the ticked ones, then refreshes the program's list of accepted units. When the program checks invoices it compares the units of the items with the accepted units. The commands of Administration Tools need at least one accepted unit.
Technical Support Settings
This page controls what the program shows of service replies, and what it records of its requests. Technical support uses it.
| Field | Description | Values and rules |
|---|---|---|
| Show response window when requesting service | Shows a window with the service reply. | When ticked, the options All (every request) and When send invoices (send requests only) become available. If nothing is saved yet the default is All. The window appears whatever this option says if the request fails and the service sent a reply, and also when the service replies with the code 202. |
| Enable the Trace File When Requesting the Service (in the group Log File) | Records the requests. | When ticked, Minimum Limit, Medium and Advanced (further information to be stored to help Technical Support) become available. If nothing is saved yet the default is Advanced. |
Logging levels:
| Level | What is recorded |
|---|---|
| Minimum Limit | Requests whose reply code was not 200 or 202. |
| Medium | Every request except those with reply code 200. |
| Advanced (further information to be stored to help Technical Support) | Every request. |
| Button | What it does |
|---|---|
| Preview | Opens the report of the request log. See Tax Service Requests Log File. |
| Clear | Asks "Are you sure you want to clear the Log file?". Click OK to delete all the log rows and see "Operation successfully completed", or Cancel. |
The trace file options and the Clear button are disabled except on a computer where technical support has enabled them. Show response window when requesting service and Preview are always available. This page is saved on Ok or Save current page.
Messages
| Message | When it appears | What to do |
|---|---|---|
| Invalid URL | Service URL does not start with http:// or https://, or is empty. | Correct the address. |
| Please enter user name | User is empty on save or on Check Connection. | Enter the company identifier. |
| Please enter password | Password is empty. | Enter the connection key. |
| Numbering options error: It is pointless to use the format in case of not selecting numerical part format or code format. | The number format is ticked with no option under it. | Tick an option or clear the format. |
| Numeric part of the sequential number must be between 6 and 10 | The digits count is out of range. | Choose from 6 to 10. |
| Code of the sequential number must be between 1 and 5 | The total digits of the codes is outside 1 to 8. The message text says 5, but the range accepted is 1 to 8. | Change the codes with Codes. |
| File code error or Year code error: Incorrect characters count, the characters count must be: … | The length of the code is not its digits count. | Enter a code of the required length. |
| Total code digits count not allowed: Digits count must be greater than zero and less than or equal to 8. | The total in Symbols Count is zero or above 8. | Change the two lists. |
| Could not save company information. | Save current page failed on Company Info. | Try again; if it repeats, contact technical support. |
| No unit has been specified in the e-invoicing settings window. | A command in Administration Tools needs accepted units and there are none. | Tick units in Accepted Units and save. |
| Settings saved successfully | Save current page succeeded. |
What is written to the file at once and Close does not undo:
| Operation | When it is written |
|---|---|
| Moving invoices outside the system | When you confirm the question. |
| Storing company data | On Save current page. |
| Clearing the trace file | On OK in the Clear question. |
| Any page you saved with Save current page | When you click the button. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.