Skip to main content

Tax Invoices List

The Syrian Tax Invoices List shows sales and purchase invoices and their returns with the state of each in the e-invoicing system. It runs the commands that prepare, approve and send invoices and expenses, and generate and send discount expenses. For the practical steps see Send invoices in Syria and Send discount expenses in Syria.

note

This window is part of the Syrian edition of alameen ERP 10 and does not exist in the standard edition. It works once the integration is ready in the file, that is, after the Syrian Tax Settings are set and the activation date is set.

The commands and states marked "stage two" below do not appear in this version, because the program offers no way to switch stage two on.

Opening the window​

WayConditions
Systems > Syrian Taxes > Tax Invoices ListThe Syrian edition. The Tax Invoices List permission on the Operations page of Users Management. The command is not in the ribbon until the system is ready (an activation date is set and in force).

When you press the command, the program checks the settings before it opens the window. If something is wrong, a box titled "Error in Syrian tax settings" appears and the window does not open. The possible messages are in Syrian Tax Settings.

Filters​

FieldDescriptionValues and rules
UserLimits the list to invoices prepared or sent by one service user.Values: All, then the service users added in the settings. Default All. This is the service user, not the program user.
Cost CenterLimits the list to one cost center.Empty means all centers. It does not apply to discount expense rows.
FromStart of the invoice date range.Default: the default start date of the period in the file.
ToEnd of the range.It must not be before From, otherwise "Beginning date is bigger than ending date".
StatusA list with check boxes for the invoice states you want.All ticked by default. At least one must be ticked, otherwise "Please select one status at least" with the title "Error in selecting parameters". The states are in the table below.
SourcesA list of the tax bill forms (sales, purchases and their returns, those that generate an entry).All ticked by default. At least one must be ticked, otherwise "Please select report sources".
Show Discounts ExpenseAdds the discount expense rows to the list.Shown with stage two only, and ticked by default if the option Activate sales discounts expense is on.
Select AllTicks or clears all the rows of the list.It changes the row ticks, not the filters. It is ticked again after each Refresh.

The Show Patient Dossier option is hidden and has no effect.

States​

The Status list and the Invoice Status column show the state as one text. In stage two the name is preceded by the invoice type, Sale, Sales Return, Expense or Old sale, and a dash.

State as shownMeaning
Not preparedThe invoice has not been prepared yet. It has no serial number.
DraftThe invoice was added as a draft. It shows Posted Draft if it was posted. It has no serial number.
Sale - Unsent, Sales Return - Unsent, Expense - Unsent (stage one: Unsent)Prepared and given a serial number, not yet received by the authority. " - Label" is added if the invoice has a label code.
Sale - Submitted, Sales Return - Submitted, Expense - SubmittedReceived by the authority, with a verification code.
Old sale - Submitted (stage two)An invoice sent under stage one.
ApprovedA purchase (purchase return) invoice approved without sending.
Outside the SystemDated before the activation date. It is not prepared or sent.

The Status list shows the states in this order: Not prepared, Draft, (Sale) Unsent, then in stage two: Sale Submitted, Sales Return Unsent and Submitted, Expense Unsent and Submitted, then Submitted, Approved and Outside the System. Ticking Submitted also lists the Sale - Submitted invoices.

The list​

The Refresh button fills it. Rows are sorted by date then number, and you can sort by clicking a column header.

ColumnDescription
(tick box)Ticks the invoices the commands act on. All ticked after Refresh.
Operation StatusAppears only after a command: its result for each invoice. Explained.
BillThe formatted invoice number. On a discount expense row: "Discounts expense - number of the origin invoice".
DateThe invoice date.
Serial numberThe serial number the invoice took when it was prepared. Empty for Not prepared, Draft and Outside the System.
SN NumberThe serial number counter. Empty for those states, or when it is 0.
CustomerThe customer name (the Latin name in the English interface, if there is one).
AmountThe invoice value with extras. It shows 0 if you have no permission to read prices on the bill form.
Invoice StatusThe state, as in the table above.
Cost centerThe cost center name, preceded by a dash.
Verification CodeThe code the authority returned. For submitted invoices only.
Service UserThe service user who prepared or sent the invoice. Empty for Not prepared, Draft and Outside the System.
Invoice Received TimeWhen the authority received it. For submitted invoices only.
TimingThe preparation or sending time, minus the minutes of Advance sending time of invoices (in minutes) if it is on.
Invoice IDThe identifier of the invoice sent to the authority, or the label identifier if there is one.

The last columns (Verification Code, Service User, Invoice Received Time, Timing, Invoice ID) are empty for Not prepared, Draft and Outside the System rows.

Rows are drawn in different font styles: rows of a successful operation in one, error rows in the error style, submitted and approved invoices in a third, and invoices with a label in a fourth.

Buttons​

ButtonWhat it does
RefreshChecks the filters, then fills the list. Clears Operation Status. Enables Operations if some rows can be processed.
PreviewOpens the tax invoices report with the same states, sources and service user. It does not pass the cost center or Show Discounts Expense. The dates of the window do not reach the report: it reads from the start of the file (or the first day of the month) to today. At least one status and one source are required. See the report viewer.
OperationsThe commands for the ticked rows. The commands.
CloseCloses the window.

The Operations commands​

The menu is built from the ticked rows: a command appears only if one of the ticked rows suits it, you have its permission and its condition holds. If no command applies, the menu does not open.

CommandPermissionConditionRows it suits
Prepare InvoicesPrepare InvoiceThe option Send the invoices manually is onNot prepared or Draft sales invoices (and sales returns in stage two). When it runs, the command accepts sales invoices only, and rejects returns with the result "Invoice type does not allow".
Send invoicesSend Invoice—The same invoices, and every Unsent one.
Prepare expensesPrepare expenseStage two, and the option Send the expenses manuallyNot prepared or Draft purchase invoices. When it runs, the command accepts sales invoices and their returns only, and rejects purchase invoices with the result "Invoice type does not allow".
Send expensesSend expenseStage twoNot prepared, Draft or Unsent purchase invoices.
Generate discount expenseGenerate discounts expenseStage two, and the option Activate sales discounts expenseSale - Submitted sales invoices with no discount expense and a total discount above 0.9.
Send discounts expensesSend discounts expenseStage two, and the option Activate sales discounts expenseDiscount expense rows that are not sent.
Approve invoicesApprove Invoice—Not prepared or Draft purchase returns (in stage one, every invoice that is not a sale).

The options are in Program options.

Each command first asks with OK and Cancel, and does nothing if no rows are ticked. Then it checks the settings. If your user is not linked to a service user, "No users have been selected for the user/ current terminal" appears. The two send commands also check the connection to the service before they process any invoice; if it fails, a box gives the cause, such as "Connection error, please contact Technical Support" or "Service login error", and no invoice is processed.

What each command does to the invoice​

CommandWhat changes
Prepare InvoicesThe invoice takes a serial number and becomes Unsent. The program saves the preparation time and the QR code text. If it was a Draft, the program posts it and generates its entry according to the bill form. No contact with the authority.
Send invoicesIf the invoice is Not prepared or Draft, it prepares it as above, then sends it. If it is already Unsent (prepared, and its sending failed), it first asks the service whether the invoice already exists there. If it does, the program treats it as Submitted and takes its verification code without sending it again. Otherwise it sends it. On success the invoice becomes Submitted and is logged. If sending fails it stays Unsent with the same serial number, and you can send it again. If the service question itself fails, the invoice is not sent.
Prepare expensesThe same preparation, but as the table above says it does not accept purchase invoices.
Send expensesAs Send invoices, for purchase invoices (expenses).
Approve invoicesThe invoice takes a serial number and becomes Approved. If its date is before the activation date, the bill form allows it and you have the permission Allow adding purchases and purchases return invoices before Activation Date, it becomes Outside the System; otherwise it is rejected.
Generate discount expenseCreates an expense of the type chosen as the discounts expense in Expenses Types, with the invoice's total discount as its value, a serial number and the state Unsent. If the option Auto-send discounts expenses when added is on, it sends it at once, and if sending fails the whole generation is undone.
Send discounts expensesSends the discount expense to the authority, and it becomes Expense - Submitted.

Sending also generates the discount expense by itself after it succeeds if the option Auto-generate discounts expense when sending invoice is on and the total discount of the sales invoice is above 0.9.

Operation status and the summary​

After each command the ticked rows are processed one by one (a progress bar shows the invoice number). The program then shows a box titled "Operation successfully completed" (the same title even if every invoice failed). It holds "Number of invoices that requested by the operation" and the count of each result that occurred. Then the list refreshes and the Operation Status column appears.

ResultCause
SucceededThe command ran.
Invoice type does not allowThe invoice type does not suit the command (for example purchases in Prepare expenses).
Invoice status does not allowIts state does not suit the command.
The invoice is related to another file according to Year CodeIts year code differs from the year code in the settings (for drafts and unsent invoices).
Invoice date is prior to e-invoice integration activation dateIt is dated before the activation date.
The form is dedicated to read labelIts bill form requires the label code to be entered manually, and it was not. See Reading the label information.
Error in sending invoiceSending failed. The invoice stays Unsent if it had been prepared.
Error preparing invoicePreparation failed.
Error in approving invoiceApproval failed.
Discount expense generation errorOr sending it. This is also the result when the invoice already has an expense or its discounts do not qualify.

In bulk sending the program does not show the reason for each failure. To learn it, open the invoice and send it from there, or turn on Show response window when requesting service in Technical Support Settings.

Right-click a row:

CommandRowsWhat it does
Display BillSales and purchase invoicesOpens the invoice in its window.
Show discounts expense origin...Discount expense rows (stage two)Opens the origin invoice.
Show discounts expense details...Discount expense rows (stage two)Opens Discounts Expense Details.

Discount expense​

The discount expense is a record the program generates for a submitted sales invoice that has discounts. Its value is the total discount of the invoice, and the program sends it to the authority. It is generated only if the invoice type is sales, its state is Sale - Submitted, it has no discount expense yet, its total discount is above 0.9, and the Discounts expense is set in Expenses Types. If a condition fails when you generate it from the invoice window, a message titled "Discounts expense type error" appears, such as "Unable to generate the discounts expense due to invoice type." or "There is discount expense already generated." or "No discounts expense type has been set."

Discounts Expense Details​

It opens from the right-click menu of a discount expense row, and from the origin invoice window (the taxes command for the discount expense).

FieldDescription
OriginThe number of the origin invoice (read-only).
Expense TypeThe type of the recorded expense (code and name).
Expense ValueThe total discount of the invoice.
DateThe date the expense was created.
StatusThe state of the expense, coloured: green for Expense - Submitted and yellow for Expense - Unsent.
TimingThe sending time. Empty if not sent.
(serial number), (verification code), (user)The serial number, verification code and service user, read-only.
OperationsThe menu below.
CloseCloses the window.

The Operations menu:

CommandWhen it appears
Show Origin Invoice...Always.
Send discounts expenseThe option Activate sales discounts expense is on, the expense belongs to this file (its year code matches the settings), its state is Expense - Unsent, and you have the permission Send discounts expense. It asks Yes or No ("Are you sure you want to send the discounts expense?", default No), then sends and refreshes the window.
Show expense details sent...When it is Expense - Submitted. Shows what was sent.

Messages​

MessageWhy it appearsWhat to do
Error in Syrian tax settings...The settings are incomplete when the window opens or a command starts.See the messages in Syrian Tax Settings.
Beginning date is bigger than ending dateFrom is after To on Refresh or Preview.Correct the two dates.
Please select one status at leastNo status is ticked.Tick one.
Please select report sourcesNo bill form is ticked.Tick one.
Operation successfully completed (with counts)A command finished on the ticked rows.Read the Operation Status column for each invoice.
Connection error, please contact Technical SupportThe service could not be reached before sending.Check the connection and try Test Connection in Tax Settings.
No users have been selected for the user/ current terminalYour user is not linked to a service user.Link it in Users.

This page applies to alameen ERP 10, version 10.1.79.764.