Syrian Tax Settings
The Syrian Tax Settings window connects the file to the Syrian e-invoicing system: company data, the activation date, the provider, the service users, invoice numbering, consumer spending taxes, and the lists of classes and expenses taken from the portal. This page explains each page of the window, what it saves and when, and who sees it.
The Syrian tax system is part of the Syrian edition of alameen ERP 10. These windows do not exist in the standard edition, and Syria is not in the Country list of Activate Taxation System. A user of the Syrian edition finds the system ready in the ribbon, as the next section shows.
Stage two of the system cannot be turned on in this version. So its pages and commands do not appear: Materials Types, Expenses Types, Invoices Types, Tax Types and the Tax Code column. They are described on this page for reference only.
For the practical steps see Set up the Syrian tax system.
Opening the window
| Way | Conditions |
|---|---|
| Systems > Syrian Taxes > Tax Settings | The Syrian edition of the program. The Tax Settings permission on the Operations page of Users Management. The command is always shown in this edition, even before any setting is made. |
- 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 (they may ask about saving their changes) or No to stay where you are.
- The program needs exclusive use of the file. If that is not possible, the window does not open.
- After closing, the program reloads the settings and refreshes the list of bill forms in the main window if the file is open.
The Activate Syrian Taxes Integration window (stage two)
This window has a permission in Users Management, but this version adds no command for it, so it cannot be opened. So stage two of the system cannot be turned on in this version.
The pages of the window
The window shows a list of pages at its side (on the right in the Arabic interface). The list depends on the state of the file:
| Page | When it appears |
|---|---|
| Company Info | Always. |
| E-Invoice API | Always. |
| Users | Always. |
| Numbering Options | Always. |
| Taxes Info | Always. |
| Help | Always. |
| Materials Types, Expenses Types, Invoices Types, Tax Types | Not shown in this version. |
| Technical Support Settings | After a separator. For the system administrator only. |
Buttons
| Button | What it does |
|---|---|
| OK | Checks all pages in order. If it finds an error it opens the page with the error and the window stays open. If all are valid, the program saves the settings and closes the window. See what OK saves. |
| Close | Closes the window without saving the settings, and may first ask whether to discard your changes. It does not undo the operations that ran at once; they are listed in the table below. |
What OK saves, and when
| What you set | When it is saved |
|---|---|
| The fields and options in Company Info (except the date), E-Invoice API, Users, Taxes Info and Technical Support Settings, and the year code and the external devices option in Numbering Options | On OK, in one operation: either all are saved or none. They are saved in the file, so they apply to every user of the file. |
| The active materials types and expenses types, and the discounts expense | On OK, but the two check lists are updated before the other settings. If saving the settings then fails, their update is not undone. |
| External device codes (from the External Systems button) before numbering is used | On OK, in a separate operation before the other settings. |
| External device codes after numbering is used | At once, on OK in the External Systems window. Cancel does not undo them. |
| Linking alameen users and points of sale to service users | On OK. |
| Activation date: Set Activation Date and Enforce Activation | At once, when you confirm the message. Cancel does not undo them. |
| Update Data from Portal on the class pages | At once. Cancel does not undo it. |
| Confirm Numbering Options | At once, and it saves the external device codes with it. |
| Clear in Technical Support Settings | At once. |
After saving, if you changed the Code of Year, the program updates the year code of the invoices that are still Draft or Unsent and carry the old code. It records "Modify Tax Settings" in the operations log, and records each change of a tax value, a rounding or the activation of consumer spending tax as a separate line.
Company Info
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Corporate / Company Name | The company name as the authority knows it. | Yes | Read-only; only the system administrator can edit it. It updates by itself when Check Connection on E-Invoice API succeeds, and a message then asks you to press OK to save it. If it is empty on OK, the message "Empty Field" appears with "Corporate/Company Name is required, you can update it by pressing Check Connection button on E-invoice Server page". |
| Latin Name | The company name in Latin letters. | No | When it is not empty, the program uses it instead of the Arabic name in the invoice QR code. Use it if the QR format has a problem with the Arabic name. |
| Tax Number | The company tax number. | Yes | Exactly 12 characters, otherwise "Tax number must be 12 characters in length". If empty: "Please enter tax registration number". |
| Rating | The number of stars of the company rating. | No | List: empty, 1, 2, 3, 4, 5. The program prints it as "One star", "Two stars" or "3 Stars". |
Activation date
| Field or button | Description |
|---|---|
| Activation Date (read-only field) | The date the integration starts. Empty if not set. |
| Set Activation Date | Opens the Set Activation Date window. |
| Enforce Activation | Activates the integration from today at once. |
The two buttons are shown only when no date is set, or when the date is in the future and has not arrived. When the date is in force they disappear.
The text on the page says: setting the activation date converts the invoices before it to the Outside the System status, and they are not sent to the authority.
Enforce Activation: asks Yes or No first, with the title "Activate system instantly" and the text "Integration system will be activated immediately, therefore all current invoices will be converted to "Outside the System" status and they cannot be sent. Do you want to continue?". On Yes the program saves today's date (the database server date) as the activation date, converts the sales and purchases invoices and their returns dated before today that are still Not prepared to Outside the System, and records the operation. As with setting a date, no invoice is converted if a tax invoice has already left Not prepared.
Set Activation Date
A small window with the Activation Date field (the saved date, or today) and the same explanatory text, and the buttons OK and Close.
- On OK a Yes or No message appears, titled "Set Activation Date", with "Are you sure you want to set activation date".
- On Yes the program saves the date in the file and then applies it:
- A date after today: if any tax invoice in the file has left Not prepared, nothing happens. Otherwise the activation is postponed until the date arrives, and the two buttons stay visible.
- Today or an earlier date: if no tax invoice has left Not prepared, the unprepared sales and purchases invoices and their returns dated before that date become Outside the System. If one has left that status, no invoice is converted and the date stays saved.
- If no date was set and the file already has tax invoices outside Not prepared, the program sets a date itself: the day after the last Outside the System invoice, otherwise the start date of the period.
Set the activation date before you add any invoice. Once invoices have left Not prepared, the program no longer converts the earlier invoices to Outside the System. Cancel in the settings window does not undo this action once it has run.
Invoices dated before the activation date are not prepared or sent: the Tax Invoices List shows them as "Outside the System".
E-Invoice API
| Field or button | Description | Values and rules |
|---|---|---|
| Server Name | The server the program sends invoices to. | List: Actual and Test. Default Test. Choosing one fills in the matching service URL. Once Actual has been saved, the list is disabled when the page opens, so you cannot go back to Test. |
| Service URL | The address of the service. | Read-only with Test. When the page opens with Actual it can be edited. It must start with http, otherwise "Please set service URL properly" with the title "Service URL error". Change it only to what your provider gives you. |
| Service User | The user used by Check Connection. | Lists the users added on the Users page. |
| Check Connection | Logs in to the service with the selected user and fetches the company name. | Steps below. |
| Website URL | A website the program uses to confirm the computer is online before each request to the service. | Optional. Type the site name without http, www. or a leading slash, and it must contain a dot, such as example.com. Otherwise "Selected website to test connection is invalid". Useful when the network blocks the usual check, which slows sending even though the internet works. |
| Test Connection | Tests the site written in Website URL. | On success "Operation successfully completed". On failure, or if the field is empty, "Selected website to test connection is invalid" with the site. |
| Advance sending time of invoices (in minutes) | Subtracts the chosen minutes from the invoice send time. | A check box with a list: 1, 5, 10, 15 ... up to 60. The list is disabled unless the box is ticked. If your server date is later than the authority server date, a time error appears when sending; bring the time forward with this option instead of changing the server clock. |
Check Connection
- The program checks the service URL, then checks that at least one user exists. If none does: "No service user found, please set a user in Users page".
- If no Service User is selected: "Please select a user to be able to check connection".
- If Tax Number on Company Info is empty: "Please set the tax number in Company Info page".
- The program shows "Connecting to Web Service" and logs in. If it succeeds, Corporate / Company Name is updated if it differs, and "Operation successfully completed" appears. If the name changed, it adds: "Please click OK button to save data, if you click Cancel button the inserted data will be ignored."
- If it fails, a message by cause appears, such as "Service login error" or "Connection error, please contact Technical Support", and a window with the service answer may appear.
On OK: if you chose Actual while the saved server is Test, Check Connection must have succeeded in this session first. Otherwise "Checking connection is required" appears: "You have moved to work on the actual server, you will not be able to work back on the testing server. Therefore make sure to Check Connection."
Users
A service user is a service-point account you create on the authority website, and the program logs in with it. Each program user must be linked to a service user to be able to send invoices.
| Item | Description |
|---|---|
| Service Users (list) | The users added. |
| New | Adds a user. Opens User Info. |
| Modify | Edits the selected user. Disabled if none is selected. |
| Delete | Deletes the selected user after a confirmation. Disabled if none is selected. Its links to program users and points of sale are cleared. |
| Program users grid | The Name column (the login name of each active program user, read-only) and the Service User column, chosen from a list. Press Delete to clear a link. |
| Log in to service by point of sale | Enables the points of sale grid. |
| Points of sale grid | The computer names in the point of sale and restaurant settings, each with a Service User. Disabled unless the previous option is ticked. |
- With Log in to service by point of sale ticked, a point of sale logs in to the service with the user linked to its computer. Otherwise it uses the user linked to the current program user. If you clear the option, the computer links are not saved.
- On OK: if the page has no service user, "No service user found, please set a user in Users page" appears. If a program user is not linked, the program asks Yes or No ("Link Al-ameen users with the service": "Al-ameen users must be linked with the web service users. Any user who is not linked to the service user will not be able to add a sales invoice. Do you want to continue"). If a point of sale is not linked and the option is on, it asks the same way ("Link points of sale with the service"). No keeps the window open.
User Info
| Field | Description | Required | Values and rules |
|---|---|---|---|
| User Name | The user name in the service. | Yes | Must be unique, otherwise "The user name already exists, please enter a different one". |
| Password | The user password in the service. | Yes | The characters are hidden. If empty: "Please enter password". |
| POS Number | The service point number. | Yes | Exactly three digits, such as 001. Otherwise "POS Number is required, it must contain 3 numbers". |
On OK the user is added to the list, and it is saved in the file only when you press OK in the main window. If you rename a service user, the program changes the links in both grids to the new name.
Numbering Options
The program gives each prepared invoice a serial number that includes the year code, and the external device code if you enable it. The year code and the external devices option are locked once the first invoice has been prepared and has a serial number.
| Field or button | Description | Values and rules |
|---|---|---|
| Code of Year | A code that tells serial numbers apart between years. | Empty or text. The program disables it once numbering is used. It rejects ', *, \ and illegal characters. Above 5 characters you get "Incorrect characters count, it should not be more than 3 character"; the text on the page also says 3 characters. |
| Use code to number external devices bills | Numbers the bills of each external device (distributors and smart device points) with its own code. | Ticked by default. While it is ticked you cannot clear it. When it is clear you can tick it until numbering is used. |
| External Systems | Opens the list of external devices so you can give each a code. | The code is exactly two characters, is not 00, and has no # or _, otherwise "The selected code contains invalid characters which also used internally.". Disabled unless the previous option is ticked. |
| Smart Device POS | Present on the page but always disabled, and does nothing. | — |
| Confirm Numbering Options | Shown when the file asks you to confirm the numbering options. | It asks: "Are you sure you have set the appropriate numbering options to avoid duplicating serial numbers of the invoices sent to the General Commission for Taxes and Fees". If the file has external devices and the option is off: "The file has external systems, please check the option of "Use code to number external devises bills" to be able to number bills of each device separately to avoid any discrepancy." Once confirmed, the request goes away; Cancel does not undo it. |
- Until numbering is confirmed, when the file asks for it, the program refuses to prepare and send invoices with "The file needs to confirm numbering options in Tax Settings page."
- On OK with the option ticked, the program checks that every device code (if any) is two characters. With the option cleared and codes in the list (this happens only in a file where the option was saved cleared), it asks: "All entries made in external systems code will be deleted. Do you want to continue?"
- On OK in the External Systems window before numbering is used, if you changed something, the program shows "Save Info": "Information will be saved by pressing OK button in Settings window."
- The page text reads: "The external device code should be 2 characters to differentiate the serial numbers of each device."
Taxes Info
This page controls the consumer spending tax, with the local government fee and the reconstruction fee, on materials.
| Field | Description | Values and rules |
|---|---|---|
| Activate consumer spending tax on material | Turns on the calculation of the three taxes in invoices. | Disabled once these taxes have been calculated in an invoice, so it cannot be turned off. |
| Taxes grid | Three rows: Consumer spending, Local government fee and Reconstruction. | The columns below. |
| Column | Description |
|---|---|
| Name | The tax name. |
| Tax Code | The code from the Tax Types list taken from the portal. This column belongs to stage two and does not appear in this version. |
| Apply on | Material Value for consumer spending, and Consumer spending for the other two. Read-only. |
| Tax Percentage | Consumer spending: by material card; its rate is set on the material card. The other two: a whole number, default 10. Fractions and the sign are dropped. |
| Round up to | List: Without, 1, 10, 100, 500, 1000. Default 100 for the three taxes. |
Tax Percentage and Round up to can be edited while the option is ticked (the consumer spending rate cannot be edited). If the invoice currency is not the Syrian pound, the program ignores the chosen rounding and rounds the three taxes to 1.
The program does not check the tax code in this version, because its checks belong to stage two. For how the taxes are calculated in the invoice see Tax pages of the invoice form.
Help
A text-only page that saves nothing. It guides you through three steps on the authority website: sign in with the company account (user name, password and tax number); create a company account in the company users section (user name, password and its confirmation, first name, surname and the company); then create a service point user in the service points section and link it to its service point. You use the service point account on the Users page. The website addresses are on the page itself.
Materials Types, Expenses Types, Invoices Types and Tax Types
These four pages belong to stage two and do not appear in this version.
Stage two cannot be turned on in this version, so the four pages and what depends on them do not appear. What follows describes them for reference only.
These four pages show lists the program takes from the portal. Each has a list and a search box at the top, a Details group (read-only) for the selected item, and the buttons Update Data from Portal and Update Info.
| Item | Description |
|---|---|
| Code and Name | The item code and name. |
| Description | The Latin description. On Materials Types the field is titled Unit. It is hidden on Invoices Types and Expenses Types. |
| Update Data from Portal | Asks Yes or No: "Are you sure you want to update data from the portal". Then it connects to the service with the service user linked to your user and replaces the whole list with what it returns. If the connection fails, a message gives the cause and the list stays as it was. After success "Last Update Info" appears. It runs at once and Cancel does not undo it. |
| Update Info | Shows the last update of this page: Operation, User, Computer name and Time. |
Materials Types
A list with check boxes: only the checked classes are active and appear on the material card and in the Modify Materials Cards tool. After Update Data from Portal a class stays active if it was active before the update and is in the new list; new classes are inactive until you check them. The check boxes are saved on OK.
Expenses Types
A list with check boxes for the active types (same update rule), and the Discounts expense field: a list showing only the checked types, from which you choose the type used to record the discount expense. Its list refreshes when you open it.
On OK:
- If no type is checked, the program asks Yes or No ("Expenses types error": "No expense type has been selected to be active, if continue you will not be able to add a purchase invoice and send your expenses to the General Commission for Taxes and Fees. Do you want to continue").
- If Discounts expense is not set, it asks: "The discounts expense has not been set, in case of continue you will not be able to send the discounts expense related to sales invoices. Do you want to continue".
- If the type chosen in Discounts expense is not checked in the list: "The selected discounts expense is inactive, please try again."
Invoices Types and Tax Types
Two display-only lists. All their items are active, and the whole list is replaced by Update Data from Portal. Tax Types shows the codes you choose from in Taxes Info.
Technical Support Settings
Shown to the system administrator only. It sets what the program keeps about service requests, to diagnose errors with technical support.
| Option | Description |
|---|---|
| Show response window when requesting service | Shows what the service answered. All shows it for every request, and When send invoices for the send request only. When a single request fails the response window also appears whatever this option says; in bulk sending from the Tax Invoices List only the summary shows the result. |
| Activate Log file when send invoice | Keeps a log of service requests: Minimum Limit (default), Medium or Advanced (further information to be stored to help Technical Support). |
| Preview | Opens the log report. |
| Clear | After the confirmation "Are you sure you want to clear the Log file?" (OK and Cancel) it clears the log, then "Operation successfully completed" appears. It acts at once. |
Messages
The messages of each page are in its section. Validation messages on OK open the page with the error. These settings messages appear later when you open the invoices list or prepare or send invoices ("Error in Syrian tax settings"):
| Message | Why it appears | What to do |
|---|---|---|
| The tax file version number is invalid, please request the Files Update maintenance. | The tax version number in the file does not match the program. | Ask technical support to update the file. |
| Please set Activation Date in Tax Settings page | No activation date is set. | Set it in Company Info. |
| The file needs to confirm system activation by Activation Date in Tax Settings page. | The activation date has arrived but activation was not carried out. | Press Enforce Activation or set the date again. |
| Corporate/Company Name is required..., Invalid service URL, No users have been added, or the tax number message | A required value is missing from the saved settings. | Complete the page concerned and press OK. |
| No users have been selected for the user/ current terminal | Your user (or the point of sale computer) is not linked to a service user. | Link it on the Users page. |
| The file needs to confirm numbering options in Tax Settings page. | The file asked for numbering confirmation and it was not given. | Press Confirm Numbering Options in Numbering Options. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.