Skip to main content

Tax Invoices and Receipts List

The Tax Invoices and Receipts List shows the invoices and receipts of the forms you set in Egyptian Tax Settings, with their status at the Egyptian Tax Authority. From it you send the invoices that are not sent yet, refresh the status of the sent ones, and check the unsent ones before sending. For the steps, see Send invoices to the Egyptian Tax Authority.

Opening the window​

Click Systems > Egyptian Taxes > Tools > Tax Invoices List. The button carries that name, and the window title is Tax Invoices and Receipts List.

The conditions that control it:

  • Your licence must include the Egyptian tax system, and the system must be activated in the file.
  • Your user needs the permission Tax Invoices List in Users Management > Operations.
  • The program checks the settings first. If no invoice form is set, it shows: No invoice form set, please go to Tax Settings - General tab and set the invoices forms required in Egyptian tax. If the company or its address is missing, it shows: Company and address information is missing, please go to Tax Settings - Company Info tab and set the required info. If User ID or Password is empty, it shows: Please enter User name and Password to establish connection to e-invoice server from: Tax Settings - E-invoice server tab and Check Connection. In these cases the window does not open.
  • To send, you also need the permission Send Invoice in Users Management > Operations > Egyptian Taxes.

Filters​

The list is empty when the window opens. Set the filters and click Refresh.

FieldDescriptionRequiredValues and rules
Status (list with boxes)Which invoice statuses to show.At least oneNine statuses: Unsent, Submitted, Sent - Processing, Valid, Invalid, Rejected, Canceled, Valid - Pending Cancellation and Valid - Pending Rejection. All are ticked when the window opens. The status Unsent - doubt of sending is not in this list. See the note below.
E-invoices, E-receiptsThe kind of document.YesE-invoices is selected when the window opens. E-invoices lists the two invoice forms of the settings. E-receipts lists the forms chosen in the two e-receipt grids of the settings.
Invoice TypeSales, sales returns, or both.YesAll (the default), Sales or Sales returns.
From, ToThe range of invoice dates, both included.YesFrom is the opening date of the file when the window opens. To is today.
RefreshLoads the list.See Buttons.
Select allTicks or clears the box of every row.Ticked after each Refresh.
Show selected onlyShows only the ticked rows.See Buttons.

Before Refresh loads, the program checks that From is not later than To, and that at least one status is ticked.

The list brings only the invoices of the forms in the settings, from forms you may browse, and only the rows allowed by your security level. The Amount shows 0 for a form whose prices your security level may not read.

note

A document whose last sending was not answered clearly gets the status Unsent - doubt of sending. This list cannot filter it. It appears under that status only in the rows of the current list, right after a sending, and not after the next Refresh. Use Validate Invoices Under Doubt of Sending to settle them.

The list​

Click a column header to sort. The first column holds a box for each row.

ColumnWhat it shows
(box)Tick the rows an operation should work on. All rows are ticked after Refresh.
Operation StatusAppears only after an operation, and until the next Refresh. See Operation Status.
NumberThe number of the invoice.
TypeSales or Sales returns.
Invoice/Receipt StatusThe status at the authority. A document you did not send shows Unsent.
DateThe date of the invoice.
CustomerThe customer name (the Latin name in an English program, when it exists).
AmountThe invoice total with taxes and extras, minus discounts.
Internal NoThe internal identifier of the invoice in the file.
Invoice IDThe electronic number the authority gave the document. Empty before sending.
Submission TimeThe date and time of the last event with the authority. Empty for Unsent.
Activity TypeThe activity of the invoice.

Sales return rows use a different text style from sales rows, unless an operation has just changed or failed them.

Operation Status​

After Send, Update Status or Validate before Send, the column Operation Status shows what happened to each ticked row:

Operation StatusMeaningRow style
SucceededThe operation changed the document: for Send, the document got a new status. For Update Status, its status changed.Emphasised
Succeeded - No changeUpdate Status found the same status.Normal
Invoice status does not allowThe operation needs another status. Send and Validate before Send work only on Unsent rows. Update Status works on every status except Unsent.Error
Invalid invoiceThe document failed the program checks, so it was not sent. The list does not say why.Error
Failed to prompt serviceThe service did not give a usable answer. For Send, the status stayed Unsent.Error
(empty)The row has no result: it passed Validate before Send, or it was skipped. See the notes under Send.Normal

Buttons​

ButtonWhat it does
Refresh (Alt+R)Checks the dates and statuses, then reads the list. The three buttons below are disabled until a list with at least one row is loaded. Send also needs the permission Send Invoice.
Show selected onlyHides the rows whose box is cleared. Click Select all to show them again.
Update StatusAsks the service for the current status of every ticked row that is not Unsent, and saves the new status. Before it works, the program checks the connection.
Validate before SendChecks every ticked Unsent row with the program checks. A row that passes shows an empty Operation Status and is counted as Succeeded in the summary. A row that fails shows Invalid invoice. It does not connect to the service and does not change the document.
SendSends every ticked Unsent row. It checks the permission Send Invoice and the connection first.
Preview (Alt+P)Opens the report of the list in the report viewer, with the same statuses, invoice type and kind. The dates of the window do not reach the report: it opens from the start of the file (or the first day of the month) to today, and you can change them in its Option List. It checks the dates and statuses first.
CloseCloses the window.

If no ticked row suits the operation, the program shows a message and does nothing. See Messages.

What Send does​

The program works through the ticked rows one by one and shows a progress window with the invoice number. For each Unsent row:

  1. For an e-invoice, it checks the digital signature device (not when the old-version option is on). If the device fails, the program shows the reason for every row, and the row stays unmarked.
  2. If the invoice form needs approval and the approval is not complete, the row is skipped silently and stays unmarked.
  3. If the invoice already has another status in the file, it takes that status and the row shows Succeeded.
  4. It checks the document. If it fails, the row shows Invalid invoice.
  5. It sends the document. If the status does not change, the row shows Failed to prompt service. This includes a document the authority rejected: the list shows no reason. Read it in the log file report (technical support opens it), or send the invoice from its own window.
  6. If the status changes, the program stores the status, the electronic number and the time, writes an entry in the invoice log, and asks the service for the details of the document. If the answer changes the status, it stores that status too.
  7. The program does not un-post the invoice at this point. If the authority later marks the document Invalid, Rejected or Canceled, the invoice is un-posted when you run Update Status.

A row can show Succeeded while its status is Unsent - doubt of sending. This means the service answered without a clear result, or did not answer. Do not send it again until you settle it.

What Update Status does​

For each ticked row that is not Unsent, the program asks the service for the details and compares the status. If it changed, it stores the new status. When the new status is Invalid, Rejected or Canceled, the program un-posts the invoice and deletes its entry. It does not do this to a receipt that came from a point-of-sale transaction. When a document that was in one of these three statuses moves to another one, the program posts the invoice again if its form has Auto Posting to Accounts, and generates its entry if it does not have one and its form has Generates Entry Automatically.

When it ends​

The program shows the message "Operation successfully completed" with these lines. A line appears only when its number is not zero, except the first:

LineWhat it counts
Number of invoices that requested by the operationThe ticked rows.
SucceededThe rows marked Succeeded, and the rows that passed Validate before Send.
Invoice status does not allowThe rows with that mark.
Failed to prompt serviceThe rows with that mark.
Invalid invoiceThe rows with that mark.
Succeeded - No changeThe rows with that mark.

The message shows even when no row succeeded. Read the lines, not the title. Then the list is redrawn with the Operation Status column.

The menu starts with Grid Lines as in every report list. See Lists and trees. Then these commands, which belong to the window:

CommandWhen it showsWhat it does
Display BillAlwaysOpens the invoice of the row in its window. If the invoice is not found, the program shows "Bill not found" with its identifier.
Open Invoice from WebsiteThe status is not UnsentOpens the document page of the authority in your browser, using Invoice ID.
Open Sales invoice from websiteA separator, then this command, when the row is a return linked to a sales invoice that has an electronic numberOpens the sales invoice page of the authority in your browser.

The window does not define a double-click command.

Messages​

MessageWhy it appearsWhat to do
Beginning date is bigger than ending dateFrom is later than To when you click Refresh or Preview.Correct the dates.
Please select one status at leastNo status is ticked when you click Refresh or Preview. Its title is "Error in selecting parameters".Tick a status.
Unable to proceed. Only invoices with Unsent status can be sent.You clicked Send or Validate before Send and no ticked row is Unsent. Its title is "Unable to send selected invoices in its current status".Tick Unsent rows.
Unable to proceed. Invoices in Unsent status cannot be updated.You clicked Update Status and every ticked row is Unsent. Its title is "Unable to update the selected invoices status due to its current status".Tick rows that were sent.
You do not have permission. You don't have the appropriate authority to perform this operationYou clicked Send without the permission Send Invoice.Ask the administrator for the permission.
Failed to prompt service, with a reasonThe connection check before Send or Update Status failed. The operation does not start.See the reasons table in Send invoices.
Connecting to Web ServiceA progress window while the program works on the rows. For Validate before Send its text is "Validate invoices to send".Wait.
Operation successfully completed, with the lines of the summaryThe operation ended.Read the lines and the Operation Status column.

This page applies to alameen ERP 10, version 10.1.79.764.