Received Tax Invoices
Received Tax Invoices shows the documents that others issued to your company at the Egyptian Tax Authority, as the Authority holds them. From it you open a document at the website, and you reject a valid document with a reason you write. For the steps, see Handle received and rejected invoices.
Opening the window
Click Systems > Egyptian Taxes > Tools > Received Tax Invoices. The button carries that name, and so does the window title.
The conditions that control it:
- Your licence must include the Egyptian tax system, and the system must be activated in the file. Otherwise the button does not appear.
- Your user needs the permission Received Tax Invoices in Users Management > Operations.
- The program checks the settings first. If an invoice form, the company, its address, User ID or Password is missing, it shows the same message as the Tax Invoices and Receipts List and does not open the window.
- Rejecting needs the permission Reject invoice in Users Management > Operations > Egyptian Taxes.
Filters and buttons
The list is empty when the window opens. Set the two dates and click Refresh.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| From | The start of the range of dates on which the Authority received the document. | Yes | When the window opens it is three days before today. |
| To | The end of the range. | Yes | When the window opens it is today. |
| Button | What it does |
|---|---|
Refresh (Alt+R) | Checks the two dates, then reads the documents from the website. See What Refresh does. |
| Close | Closes the window. |
What Refresh does
- It checks that From is not after To. If it is, it shows "Beginning date is bigger than ending date" and reads nothing.
- It connects to the service under a progress window titled "Connecting to Web Service". If that fails, it shows a message with the reason and the list stays as it was. The connection reasons are in Send invoices.
- It reads the pages of the recent documents from the newest to the oldest, and the progress window shows "Requesting tax invoices from Website from 1 to 25". The number of documents in each request is the one set in Technical Support Settings (25 by default).
- It keeps a document if the date on which the Authority received it falls between the two dates and its Recipient is your company tax number, that is the tax number on the company card in the Egyptian Tax Settings. It stops reading at the first document the Authority received before From.
- It draws the list with everything it collected.
You can click the cancel button of the progress window. The message "The operation has been stopped" appears and the list shows what was collected until then. The same happens if a request for a page fails after the previous page succeeded: the message of the reason appears, if there is one, then the partial list. If the tax number of your company is empty, an empty list appears with no message.
The range in this window is the date the Authority received the document, not the date of the invoice. If the service fails a request with a general error, no message appears. Click Refresh again if the list is incomplete.
The list
| Column | What it shows |
|---|---|
| Invoice ID | The electronic number of the document at the Authority. |
| Invoice Status | The document status. It comes from the service. A status the program does not know appears as Submitted. |
| Sender | The name of the party that issued the document. |
| Amount | The total of the document. |
| Date | The issue date of the document. |
| (UTC) Received Time | The date and time the Authority received the document. |
A document whose status is Rejected appears in a prominent style.
Right-click menu
The menu starts with the commands shared by all lists. See Lists and trees. Then:
| Command | When it appears | What it does |
|---|---|---|
| Open Invoice from Website | The document has an electronic number. | Opens the page of the document at the Authority in the browser. |
| Reject invoice | The document status is Valid only. | Starts rejecting the document. |
The window defines no double-click command. A document whose status is Valid - Pending Rejection, or any status other than Valid, does not offer the reject command.
Rejecting a document
- The program checks the permission Reject invoice. If you do not have it, the message "You do not have permission" appears and the command ends.
- The Enter Reason dialog opens. If you click Cancel, the command ends with no request.
- After Ok, the program shows a progress window titled "Requesting invoice rejection from service" and sends the request with the reason.
- If the request succeeds, the message "Operation successfully completed" appears, the document becomes Rejected in the list in a prominent style, and the selection stays on it. If Show response window when requesting service is on in the Technical Support Settings, a window with the reply of the service may then appear.
- If it fails, a message titled "Failed to prompt service" with its reason appears, or a window with the reply of the service if it returned text, or the message "Unknown Error" if it returned nothing. The status of the document in the list stays as it was.
Rejecting concerns the documents of the website. The program changes nothing in your file, because these documents are not invoices of your file. The list shows Rejected until the next Refresh, then it shows the status the service returns, which may be Valid - Pending Rejection. After that you find the document in Rejected Tax Invoices.
The program records a failed request in the log file if you turned it on in the Technical Support Settings. See Tax service request log file.
Enter Reason
The Enter Reason dialog opens when you reject a received document. It also opens when you cancel a valid invoice from the Taxes menu of the invoice window, with the command Cancel Invoice. See Invoice.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Please enter the reason (list) | The reason for rejecting or cancelling. | Yes | No reason is selected when it opens. The reasons: Wrong buyer details, Wrong invoice details, Other. |
| Other-reason box | The text of the reason. | Yes when you choose Other | Hidden until you choose Other. Up to 50 characters. Do not type quotation marks in it. |
The program sends the Authority the text of the selected reason in the language of the program. If you choose Other, it sends what you typed.
| Button | What it does |
|---|---|
| Ok | Checks the reason, then closes the dialog and continues the request. |
| Cancel | Closes the dialog with no request. |
Messages
| Message | Why it appears | What to do |
|---|---|---|
| Beginning date is bigger than ending date | From is after To at Refresh. | Correct the two dates. |
| Failed to prompt service, with a reason | Connecting or signing in to the service failed at Refresh or at the rejection. | See the table in Send invoices. |
| The operation has been stopped | You clicked cancel while the documents were read. | Click Refresh again. The list shown is partial. |
| You do not have permission | You chose Reject invoice without the permission Reject invoice. | Ask the manager for the permission. |
| An error as per the Egyptian Tax system requirements: Invalid text as per the Egyptian Tax system requirements | You clicked Ok with no reason chosen, or you chose Other and left the box empty. | Choose a reason or type the text. |
| Operation successfully completed | The service accepted the rejection request. | Nothing. |
| Unknown Error | The rejection failed and the service returned no text. | Check the document at the website, and check the log file with Technical Support. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.