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.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Status (list with boxes) | Which invoice statuses to show. | At least one | Nine 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-receipts | The kind of document. | Yes | E-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 Type | Sales, sales returns, or both. | Yes | All (the default), Sales or Sales returns. |
| From, To | The range of invoice dates, both included. | Yes | From is the opening date of the file when the window opens. To is today. |
| Refresh | Loads the list. | See Buttons. | |
| Select all | Ticks or clears the box of every row. | Ticked after each Refresh. | |
| Show selected only | Shows 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.
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.
| Column | What it shows |
|---|---|
| (box) | Tick the rows an operation should work on. All rows are ticked after Refresh. |
| Operation Status | Appears only after an operation, and until the next Refresh. See Operation Status. |
| Number | The number of the invoice. |
| Type | Sales or Sales returns. |
| Invoice/Receipt Status | The status at the authority. A document you did not send shows Unsent. |
| Date | The date of the invoice. |
| Customer | The customer name (the Latin name in an English program, when it exists). |
| Amount | The invoice total with taxes and extras, minus discounts. |
| Internal No | The internal identifier of the invoice in the file. |
| Invoice ID | The electronic number the authority gave the document. Empty before sending. |
| Submission Time | The date and time of the last event with the authority. Empty for Unsent. |
| Activity Type | The 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 Status | Meaning | Row style |
|---|---|---|
| Succeeded | The operation changed the document: for Send, the document got a new status. For Update Status, its status changed. | Emphasised |
| Succeeded - No change | Update Status found the same status. | Normal |
| Invoice status does not allow | The operation needs another status. Send and Validate before Send work only on Unsent rows. Update Status works on every status except Unsent. | Error |
| Invalid invoice | The document failed the program checks, so it was not sent. The list does not say why. | Error |
| Failed to prompt service | The 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
| Button | What 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 only | Hides the rows whose box is cleared. Click Select all to show them again. |
| Update Status | Asks 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 Send | Checks 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. |
| Send | Sends 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. |
| Close | Closes 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:
- 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.
- If the invoice form needs approval and the approval is not complete, the row is skipped silently and stays unmarked.
- If the invoice already has another status in the file, it takes that status and the row shows Succeeded.
- It checks the document. If it fails, the row shows Invalid invoice.
- 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.
- 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.
- 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:
| Line | What it counts |
|---|---|
| Number of invoices that requested by the operation | The ticked rows. |
| Succeeded | The rows marked Succeeded, and the rows that passed Validate before Send. |
| Invoice status does not allow | The rows with that mark. |
| Failed to prompt service | The rows with that mark. |
| Invalid invoice | The rows with that mark. |
| Succeeded - No change | The 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 right-click menu
The menu starts with Grid Lines as in every report list. See Lists and trees. Then these commands, which belong to the window:
| Command | When it shows | What it does |
|---|---|---|
| Display Bill | Always | Opens 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 Website | The status is not Unsent | Opens the document page of the authority in your browser, using Invoice ID. |
| Open Sales invoice from website | A separator, then this command, when the row is a return linked to a sales invoice that has an electronic number | Opens the sales invoice page of the authority in your browser. |
The window does not define a double-click command.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| Beginning date is bigger than ending date | From is later than To when you click Refresh or Preview. | Correct the dates. |
| Please select one status at least | No 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 operation | You clicked Send without the permission Send Invoice. | Ask the administrator for the permission. |
| Failed to prompt service, with a reason | The connection check before Send or Update Status failed. The operation does not start. | See the reasons table in Send invoices. |
| Connecting to Web Service | A 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 summary | The operation ended. | Read the lines and the Operation Status column. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.