Validate Invoices Under Doubt of Sending
Validate Invoices Under Doubt of Sending lists the invoices whose status is Unsent - doubt of sending. An invoice takes this status when it was sent and the service gave no clear answer, so the program does not know whether the Authority recorded it. The Validate button asks the service about these invoices and gives each one the status it deserves. For the steps, see Resolve invoices under doubt of sending.
Opening the window
Click Systems > Egyptian Taxes > Tools > Validate Invoices Under Doubt of Sending. 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 Validate Invoices Under Doubt of Sending 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.
A single invoice has a similar command in its own window: Validating invoice from Website in the Taxes menu. See Invoice.
Buttons
The list is empty when the window opens and Validate is disabled.
| Button | What it does |
|---|---|
Refresh (Alt+R) | Reads from the file the invoices whose status is Unsent - doubt of sending. If there are any, Validate becomes available. If there are none, the message "No result found in the specified options" appears and Validate is disabled. |
| Validate | Asks the service for the documents of the website and writes the result in each invoice of the list. See What Validate does. |
| Close | Closes the window. |
What Refresh reads
- Only invoices whose status is Unsent - doubt of sending, of the two invoice forms set in the Egyptian Tax Settings (sales and sales returns). E-receipts do not appear.
- Only forms you may browse, and only the rows your security level allows. Amount shows 0 for a form whose prices your security level may not read.
- Newest first.
- If reading the file fails, or the system is not activated in it, the message "No result found in the specified options" appears as if there were no invoices.
Columns
Click a column heading to sort the rows by it.
| Column | What it shows |
|---|---|
| Number | The invoice number. |
| Invoice Status | Unsent - doubt of sending when the window opens. It changes after Validate. |
| 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 extras and tax, minus discounts. |
| Activity Type | The activity of the invoice (the Latin name in an English program, when it exists). |
After Validate, a row for which a status was written changes style: the error style if it went back to Unsent, and a prominent style if it took the status of a document. A row that stays Unsent - doubt of sending keeps its normal style.
What Validate does
- It connects to the service. If that fails, it shows a message with the reason and does not start. The connection reasons are in Send invoices.
- It shows a progress window titled "Check Tax Invoices" and reads all pages of the recent documents from the service (the number of documents in each request is the one set in Technical Support Settings, 25 by default). You can click the cancel button of the progress window while it reads. The message "The operation has been stopped" appears and no invoice changes.
- It goes through each row whose status is Unsent - doubt of sending, looks for a document the service returned with the same internal number, and writes in the invoice:
| What the program found | What it writes in the invoice |
|---|---|
| A document with an electronic number | The status becomes the document status at the website, the electronic number becomes the document number, and the submission number the Authority gave is saved too. The time of the last event of the invoice does not change. |
| A document without an electronic number | Nothing changes. The row stays Unsent - doubt of sending and is counted as "No change". |
| Several documents for the same invoice | It takes the first document in the order of the service and does not warn about the repetition. Find repetitions first with the Validate Tax Invoices window. |
| No document | The status goes back to Unsent and the electronic number is cleared. The invoice can be sent again. |
The program writes each invoice on its own, and writes it only if its status in the file is still Unsent - doubt of sending. If another user changed it after Refresh, it is not changed.
When the status written is Invalid, Rejected or Canceled, the program unposts the invoice and deletes its entry. While it is Invalid or Canceled, posting it and generating its entry are not carried out, and an error is written to the error log. In every other status, the program does not post the invoice again and does not generate an entry for it. After an invoice takes a status other than Unsent, it becomes read-only in its window. See What becomes read-only after sending.
When it ends
The message "Operation successfully completed" appears with these lines. The first line always appears, and the other lines do not appear when their number is zero:
| Line | What it counts |
|---|---|
| Number of invoices that requested by the operation | All the rows of the list. |
| Unsent | The rows that went back to Unsent. |
| Change Status | The rows that took the status of a document. |
| No change | The rows that stayed Unsent - doubt of sending. |
Then the list is redrawn and Validate is disabled. Click Refresh to read the invoices that are still in doubt. This message appears even if no row changed.
If the request for the documents fails with a general error, Validate stops without a message and without any change.
Right-click menu
The menu starts with the commands shared by all lists. See Lists and trees. Then:
| Command | What it does |
|---|---|
| Display Bill | Opens the invoice of the row in its window. If it cannot find it, the program shows "Bill not found" and its identifier. |
The window defines no double-click command.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| No result found in the specified options | No invoice is Unsent - doubt of sending among those you may see, or reading failed. | Nothing, or review your permissions. |
| Failed to prompt service, with a reason | Connecting or signing in to the service failed. | See the table in Send invoices. |
| The operation has been stopped | You clicked cancel while the documents were read. | Click Validate again. No invoice changed. |
| Operation successfully completed, with the summary lines | Validate ended. | Read the lines and the new statuses. |
| Bill not found: and an identifier | The command Display Bill and the program did not find the invoice. | Click Refresh. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.