Tax small dialogs and menus
This page covers what the e-invoicing systems of alameen ERP 10 share: the Taxes menu of the bill window, and three small windows that open from several places. Each country has its own list of commands, and the state of the bill, the options and the permissions decide which ones show. For the windows that the commands open, see E-invoice details (Saudi Arabia), E-invoice details (Egypt) and E-invoice dialogs (UAE and Syria) and notes. For the steps, see Fill in the e-invoice details of a bill. For a shorter overview of the menu, see the Taxes menu section of the bill window.
Opening the menu
The bill window has a button named Taxes. The credit and debit note window has a button named Tax Operations (see Credit and debit notes). Click it to show the menu. The program builds the menu again on every click from the state of the open bill, so two bills may not show the same commands.
| Condition | Effect |
|---|---|
| Bill form type | The button works for the e-invoice forms of the file's country only. For any other form the commands of the country don't show. |
| Egypt, Jordan and Turkey | The button is disabled in a new bill that isn't saved yet, and enabled in a saved bill. |
| Saudi Arabia | The button is always enabled, also in a new bill. |
| Syria | The button is enabled in phase two, or when Allow adding invoice as Draft is on and you may add drafts, or for a saved bill in the states where it can be prepared or sent. |
| UAE | The button shows and is enabled in a sales bill always. In a purchase bill it shows only after the bill was sent (its state isn't Not prepared or Outside the System) or when Enable the self-billing system is on. |
Some commands check the permission when they show, some when they run, and some at both points. Permission names are as the Users Management window shows them under Operations. Option names are as the program options show them.
Unsaved changes
In most countries, the commands that send, refresh, repair, convert or approve check the window first. If it holds a change that isn't saved, a warning titled Invoice changes says the changes will be ignored if you continue. Click OK and the program reloads the saved bill and goes on with the command, so what you changed is lost. Click Cancel to stay in the window and save first. The commands below say "checks the window first" when they do this.
Egypt
The button works for a saved bill only. The commands change with the state of the bill at the tax authority and with the document type, invoice or receipt. For the steps, see Send invoices to the Egyptian Tax Authority.
| Command | When it shows | What it does |
|---|---|---|
| Validate Invoice before Send | State Unsent or Unsent - doubt of sending. Also for Invalid when the option Resend the invalid tax invoice is on and you have the permission Send Invoice. | Checks the data of the bill and sends nothing. On success the message that the operation completed shows. |
| Send Invoice | State Unsent, the option Enable send invoice in invoice window is on, and you have the permission Send Invoice under the Egyptian tax system section. It doesn't show for a bill created by the web POS. | Checks the window first (Unsaved changes), then sends the saved invoice or receipt. |
| Resend Invoice | State Invalid, the option Resend the invalid tax invoice is on, and you have the permission Send Invoice. It doesn't show for a bill from the web POS. | Asks the service for the state of the bill first. If it is no longer Invalid a message shows and nothing is sent. Otherwise it sends the bill again and reactivates it in the file. It doesn't check the window first. |
| Modify Invoice Activity | Same conditions, for an invoice and not a receipt. | Changes the activity saved for the invoice in the file to the activity chosen in the activity box of the bill window. It shows the old and the new activity and asks to confirm. It sends nothing. |
| Validating invoice from Website | State Unsent - doubt of sending. | Searches the recent documents of the website, page after page, for this invoice. A cancel button stops it. If it finds the invoice it records it as sent, with its state at the website. If not, it puts it back to Unsent and clears its electronic number. See Resolve invoices under doubt of sending. |
| Cancellation Request Details or Rejection Request Details | State Valid - Pending Cancellation (the first) or Valid - Pending Rejection (the second), for an invoice and not a receipt. | Asks the service and shows the reason of the request, when it was made and when it was carried out. If the state at the service differs from the state in the file, a message says so instead. |
| Update Status | Every state except Unsent and Unsent - doubt of sending. | Checks the window first, then asks the service for the current state. If it changed, the program saves it in the file and refreshes the bill. It may show the Service Response Details window, depending on the option Show response window when requesting service. |
| Open Invoice from Website | Same states. | Opens the page of the document at the tax authority website in the browser. |
| Import Invoice as PDF | Same states, for an invoice and not a receipt. | Asks for a file name, then saves in it the PDF that the service returns. |
| Open Sales invoice from website | A sales return bill linked to a sent sales invoice. | Opens the original sales document at the website. |
| Cancel Invoice | State Valid, for an invoice, and you have the permission Cancel Invoice. | Checks the window first, asks for the reason of the cancellation, sends the cancellation request, then updates the state. |
| Save Invoice in Send Mode | The option Save invoice in send mode (JSON) to a file is on. | Builds the text that would be sent for the bill and saves it in a text file whose name you choose. |
| More Tax Details | Always, the last command of the menu. | Opens the window of the delivery, payment and order details. See E-invoice details (Egypt). |
Jordan
The button works for a saved bill only, and a command that you have no permission for doesn't show. Once the bill passes the state Unsent, editing and deleting it are disabled. For the steps, see Send e-invoices in Jordan.
| Command | When it shows | What it does |
|---|---|---|
| Validate Invoice before Send | State Unsent, and you have the permission Validate E-invoice Requirements under the Jordanian tax system section. | Checks the invoice. On success the message that the operation completed shows. |
| Send Invoice | State Unsent, and you have the permission Send Invoice. | Asks to confirm, checks the window (Unsaved changes), sends the invoice and refreshes the window. |
| Save invoice as XML | Always, if you have the permission Save invoice as XML. | Asks for a file name, then saves the invoice in XML format. |
| Tax Invoices List | Always, if you have the permission Tax Invoices List. | Opens the list window. See Tax Invoices List (Jordan). |
Turkey
The button works for a saved bill only. The states are those shown in the window, such as Draft, Pending Approval - Waiting and Approved. For the steps, see Manage tax invoices in Turkey.
| Command | When it shows | What it does |
|---|---|---|
| Update Status | Every state except Error sending. | Checks the window first, then asks the service for the state of the invoice. If it changed, the program saves it in the file, reloads the bill and shows a success message. If the invoice became canceled, it asks to confirm canceling the bill in the file. |
| Approve Invoice | State Draft. | Checks the window first, then sends the invoice for approval. You need the permission Approve e-invoice in Turkish tax, otherwise the message "You do not have permission" shows. |
| Convert to Draft | State Invoice error. | Asks the service to return the invoice to a draft. |
| Import Invoice as PDF | A bill that was sent to the service, that is its state isn't Not prepared and isn't Unsent. | Asks for a file name, then saves in it the PDF from the service. |
| Open invoice as PDF | Same condition. | Downloads the file to the Downloads folder of the computer, named with the serial number of the invoice (a number is added if the name exists), then opens it. |
| Show Actions Log... | Same condition. | Opens a window with the log of what happened to the invoice. |
The Turkey menu has no cancel command.
Saudi Arabia
The button is always enabled. The commands are many. They follow the state of the bill (see state names), the readiness of the system and the sending computer. "Phase two ready" means phase two is on and ready to use in the file. "Real sending" means this computer and work unit are set to real sending and not to compliance checking. For the conditions that show the windows and their examples, see When the commands show. For sending, repair and archiving, see Send invoices to the authority, Resend and repair failed invoices and Archive and verify e-invoices.
Checking and searching
| Command | When it shows | What it does |
|---|---|---|
| Validate E-invoice Requirements | Always. | Checks the invoice as it is on the screen, even before it is saved. On success the message "Invoice is compliant with e-invoice requirements" shows. |
| Validate e-invoice requirements on saved invoice | A saved bill, the system is ready, and the option Allow validating e-invoice requirements on saved invoice is on. | Checks the version saved in the file, not what is on the screen. |
| Validate Time | Phase two ready. | Opens a window that compares the time of the service, of the provider and of the workstation. See E-invoice settings. |
| Search by Sequential Number | Always. | Opens the window that searches an invoice by its sequential number. |
| Search by counter number | Phase two ready. | Opens the window that searches by counter number. |
Files and archive
The commands that generate files and open the archive show for a "fixed" invoice, one that isn't in any of these states: Not prepared, Draft, Posted draft, Outside the System, Compliant (and for other), Clearance - Error, Pending, Sent on taxpayer's liability, VAT Group, Outside Scope of Tax, Profit Margin, Approval required and Approved.
| Command | Extra condition | What it does |
|---|---|---|
| Generate XML file | Manual archiving is allowed in the settings, and you have the permission Generate XML file manually. | Saves the sent invoice in an XML file. |
| Generate PDF-A3 file | Same conditions, the settings allow generating a PDF-A3 file, and the state is cleared, reported, with warnings, or ready for reporting. | Asks for a file name (or uses the folder set in the settings), asks before replacing a file, and saves a PDF-A3 file. |
| Generate JSON file | Same conditions as the XML file. | Saves the invoice in a JSON file. |
| Archives | Automatic archiving is on, and your permissions allow the archives. | Opens the archive window on the serial number of this invoice. See Archives. |
| Compare Invoice with Sent File | Phase two ready, and the state is cleared, reported, with warnings, or ready for reporting. | Opens the comparison report on this invoice. |
Changing after approval
| Command | When it shows | What it does |
|---|---|---|
| Modify Reported /Approved Invoice... | The option Allow modifying reported / approved invoices is on, you have the permission Modify Reported /Approved Invoice, and the invoice reached the authority or its state is Clearance - Error. | Asks to confirm, then applies what you changed in the open invoice to the approved one. It refuses if you changed the date, the customer, the currency, the grand total or the discount, or if the file code of the invoice differs from the code of the current file. |
| Modify Additional Information... | The option Allow modifying the additional information of approved invoices is on, you have the permission Modify Additional Information of Approved Invoices, and the state condition above. | Opens the window that edits the additional information. See Modify the additional invoice information. |
Result of sending
| Command | When it shows | What it does |
|---|---|---|
| Show invoice details | States ready for clearance or for reporting (and for other), cleared, reported, rejected, with warnings, in doubt, or compliant. | Opens Invoice information if the invoice has one submission record, or Submission records if it has more. |
| Show error / warning details | State rejected, or cleared or reported with warnings. | Shows the last response from the authority in the Service Response Details window. |
| Resend Invoice | State rejected (Clearance - Error or Reporting - Error), and you have the permission Resend Rejected Invoices. | Asks to confirm, checks the window (Unsaved changes) and sends the invoice again. |
Phase two commands
They show when phase two is ready. The sending, conversion and repair commands work on a saved bill. They follow the setting of this computer: compliance checking or real sending. Most of them check the window first (Unsaved changes).
| Command | When it shows | What it does |
|---|---|---|
| Verify invoice compliance | The computer is set to compliance checking, and the state is Not prepared, Approved or draft. | Asks to confirm, checks the invoice, sends it to the checking service and shows the response. It shows also for a user without the permission Verify invoice compliance, and the program doesn't check that permission when it runs. In the general sales return form it shows and does nothing. |
| Verify Credit Note compliance and Verify Debit Note compliance | The computer is set to compliance checking, the state is Compliant, the form isn't the general sales return, and you have the permission Verify invoice compliance. | Generates a note for checking. The command is disabled if a note of this kind was already generated for the invoice type (tax or simplified). |
| Prepare invoice for reporting (simplified only) | Real sending, state Not prepared, Approved or draft, the option Delay reporting of simplified invoices and their associated notes (within 24 hours) is on, and you have the permission Prepare invoice for reporting. | Prepares the invoice so it becomes Ready for reporting, without sending it. |
| Reporting /Clearance invoice | Real sending, the same states, the form isn't an advance payment form, and you have the permission Invoice Clearance or Reporting Invoice. | Checks, then sends: clearance for a tax invoice, reporting for a simplified one. |
| Reporting Invoice | Real sending, state Ready for reporting, and you have the permission Reporting Invoice. | Sends the prepared invoice. |
| Fix invoice | Real sending, state Reporting - Doubt (with Reporting Invoice) or Pending (with Invoice Clearance). | Asks to confirm, checks with the authority what happened to a submission whose answer didn't arrive, and updates the state. See Resend and repair failed invoices. |
| Convert to "sent on taxpayer's liability" | Real sending, the option Allow the status "sent on taxpayer's liability" is on, you have the same-named permission, and the state is Not prepared, Approved or draft. | Asks to confirm and changes the state to Sent on taxpayer's liability without sending anything. It runs for Not prepared and draft only, and for a draft it posts the bill and generates its entry. It refuses a bill of a government entity. |
| Convert to "outside scope of tax on taxpayer's liability" | The same, with the option Allow the status "outside scope of tax on taxpayer's liability" and its permission. | Changes the state to Outside Scope of Tax. |
| Mark Invoice as Advance Payment | Real sending, the option Export invoice as Advance Payment is on in the bill form, the state is Not prepared, Approved or draft, and you have the permission Mark Invoice as Advance Payment. | Sends the invoice as an advance payment. |
| Mark Invoice as Final Invoice | Real sending, the state is Not prepared, Approved or draft, Enable Advance Payments is on, the form isn't an advance payment export nor a general sales return, and you have the permission Mark Invoice as Final Invoice. | Opens the advance payments window to link them, then sends. See Advance payments. |
| Pay Government Sale Invoice | Phase two ready, and the invoice isn't recorded as paid yet. | It works on a computer set to real sending only. It asks to confirm twice, checks that the invoice, the customer and the materials qualify, then records it as paid. If they don't, it shows one of five reasons: the state or type of the invoice, the tax code of the customer, the payment state, or the tax code of the material. |
The next commands add a new bill or work on the draft hold. They show whatever the state of the open bill, even for a new bill:
| Command | When it shows | What it does |
|---|---|---|
| Add invoice as Draft | A sales form (or the general sales return form with the option Allow general sales return), the option Allow adding invoice as Draft is on, you may add drafts in the form, and the Add Draft button isn't visible in the window. | Saves the invoice in the state Draft (or Posted draft if holding drafts is forced). |
| Post Draft and Unpost Draft | A sales draft, the option Allow posting draft is on, you have the permission Post Draft, and you may post in the form. The first is for a draft, the second for a Posted draft. | Post Draft posts the bill, Unpost Draft removes its posting. Both ask to confirm and refuse if the file code of the draft differs from the code of the current file. |
| Add as "sent on taxpayer's liability" and Add as "outside scope of tax on taxpayer's liability" | Real sending, a sales form, and the option and permission as for the conversion. | Saves the new bill in that state. |
| Add Invoice as Final Invoice | The conditions of Mark Invoice as Final Invoice, in a sales form. | Opens the advance payments window, then saves. See How to open them. |
| Show Linked Advance Payments | The invoice is a final invoice. | Shows the linked advance payments, read only. |
Tourists
| Command | When it shows | What it does |
|---|---|---|
| Send Invoices to the VAT Refund Service | A saved bill, phase two ready, a tourist form, the state is cleared, reported, with warnings, or ready for reporting (also for other), you have the same-named permission, and the invoice has no tourist sending state or its state is In Progress. | Asks to confirm and checks the window, then saves the sending state In Progress and opens the Global Blue window to issue the invoice. On success it saves the document number and the state Sent. |
| Send Invoices to the VAT Refund Service (same name) | The same conditions, and the tourist sending state is Refund Required. | Sends the cancellation request to the service with no window, and records whether it succeeded in the log of the invoice. |
See Enable the tourist tax refund integration.
Phase one
| Command | When it shows | What it does |
|---|---|---|
| Prepare Invoice | Phase two isn't ready, the system is ready, the state is Not prepared, and you have the permission Prepare Invoice. | Prepares the invoice and it becomes Ready for clearance. |
| Approve Invoice | The same conditions, the state is a draft, and you have the permission Approve Invoice. | Asks to confirm, then checks and approves. It refuses a draft from a file with another code. |
Syria
This menu exists in the Syrian edition only. What shows depends on the form: a "sending form" is a sales form, and in phase two also a sales return and a purchase form (purchases are expenses), but not a purchase return. For the settings, see Syrian tax settings. For sending, see Send invoices in Syria.
| Command | When it shows | What it does |
|---|---|---|
| Validate E-invoice Requirements | A sending form. | Checks the invoice on the screen. On success a success message shows. |
| Prepare Invoice | A saved sales or sales return bill, the option Send the invoices manually is on, you have the permission Prepare Invoice, and the state is Not prepared or a draft (from this file). | Asks yes or no, then prepares the invoice. |
| Send Invoice | A saved sales or sales return bill, you have the permission Send Invoice, and the state is Not prepared, not sent, or a draft (from this file). | Asks yes or no, then sends. |
| Prepare expense and Send expense | A saved purchase bill in phase two. The first needs the option Send the expenses manually and the permission Prepare expense, the second the permission Send expense. | As for an invoice, for a purchase expense. |
| Read the origin invoice code | A purchase form in phase two, and the state is Not prepared, Unsent or draft. | Opens the window that reads the sticker code by hand. See Reading the label information. |
| Show invoice details | Phase two, the option Show invoice details sent is on, and the invoice was sent. | Shows the return reason saved for the invoice in the Service Response Details window. |
| Discounts Expense Details | Phase two, and the invoice has a discounts expense. | Opens the details of the discounts expense. |
| Generate discounts expense | Phase two, the option Activate sales discounts expense is on, the invoice is from this file, in the state of sent with details, with no discounts expense yet but one can be generated, and you have the permission Generate discounts expense. | Asks to confirm, then generates the expense. |
| Send discounts expense | The same option, the invoice has an unsent discounts expense, and you have the permission Send discounts expense. | Asks to confirm, then sends it. See Send discount expenses in Syria. |
| Approve Invoice | A form that isn't a sending form, you have the permission Approve Invoice, and the state is Not prepared or a draft (from this file). | Asks to confirm, then approves the invoice. |
| Add invoice as Draft | The option Allow adding invoice as Draft is on, you may add drafts in the form, and the Add Draft button isn't visible. It is disabled for a sales return. | Asks to confirm, then saves a new invoice in the state Draft. If its date is before the subscription date and you don't have the permission Allow adding purchases and purchases return invoices before Activation Date, a message shows and nothing is saved. |
UAE
For companies where UAE e-invoicing is already on. For sending, see Send e-invoices in the UAE and Tax Invoices List. In a purchase bill the commands show after sending or with self-billing only (see Opening the menu).
| Command | When it shows | What it does |
|---|---|---|
| Validate E-invoice Requirements | Always, when the button shows. | Checks the invoice and shows that the check succeeded. |
| Search by Sequential Number | Always. | Opens the search window. See UAE: search by serial number. |
| Generate a file in XML format and Generate a file in JSON format | The option Allow manual generation of an XML file or Allow manual generation of a JSON file. | Generates the invoice file in that format. |
| Send Invoice | A saved bill, state Not prepared, and you have the permission Send Invoice. In a purchase bill the option Enable the self-billing system and the permission Send Self-Billed Invoice are needed as well. | Sends the invoice. |
| Fix invoice | State Pending, and you have the permission Send Invoice. | Asks to confirm, then handles the pending submission and refreshes the bill. |
| Update Status | State Submitted or Under Review. | Asks the service for the state of the invoice and updates it. |
| Resend Invoice | State Invalid, and you have the permission Resend Invoice. | Sends it again. |
| Show error / warning details | State Invalid. | Shows the response in the Service Response Details window. |
| Show invoice details | Every state except Not prepared and Outside the System. | Opens Invoice information or Submission records. |
Service Response Details
A read-only window titled Service Response Details. It shows what the tax service answered to a request that the program sent. It has one formatted text box and no buttons. Close it with the window close button. It doesn't ask to save anything when you close it.
Opening the window
| From | When |
|---|---|
| A request to the service from the bill: send, refresh the state, cancel or fetch a document (Egypt, Jordan, Saudi Arabia and UAE) | It shows when the request fails or the service rejects a document. On success it follows the option Show response window when requesting service in the technical support settings page of the e-invoice settings of your country: it shows for every request, or for sending requests only, or not at all. |
| Show error / warning details | In a Saudi or UAE bill or note. It shows the last response saved for the bill. |
| Show invoice details in Syria | It shows the return reason saved for the invoice, and nothing if it is empty. |
| Verify invoice compliance | It shows the result of the check, with the name of this operation in the window. |
| Send Invoices to the VAT Refund Service | It shows the response of the provider after the Global Blue window closes, on failure, or on success if showing the response is on. |
What it shows
The text is in English, as the service returns it, and the field names in it aren't translated.
- It starts with a line
StatusCodewith the response code of the service if there is one, then a lineResultStatuswith the result of the operation:Successed,Faild,ConnectionError,RejectedDocumentsor another. Then the name of the operation if there is one (for example compliance checking). - Then the content of the response, arranged in lines. The section headings are colored:
acceptedDocumentsgreen,warningMessagesyellow,rejectedDocumentsorange,errorMessagesred,infoMessagesgreen. Under each section themessagelines carry the message of the service. reportingStatusandclearanceStatusare green, and red when the value isNOT_REPORTEDorNOT_CLEARED.- If the Saudi e-invoice system isn't on in the file, the headings
ContentsandHeadersand the lines of the response headers are added. - In Egypt, when a document is fetched in the state Invalid, the window shows only the validation steps that failed, each with its name and its error message in red, instead of the general content.
Global Blue
A window titled Global Blue that holds an embedded browser. It shows the page of the tourist tax refund service of the provider, to issue the tourist invoice. It has no fields and no buttons: everything you see is the page of the service. It is in Saudi Arabia only.
Opening the window
It opens with the command Send Invoices to the VAT Refund Service of the Taxes menu (see Tourists). The web view component must be available on the computer, otherwise the window stays empty. It is a dialog window: you can't continue working before you close it.
What happens in it
- The program saves the tourist sending state In Progress, opens the window and sends the page an issue request with the data of the invoice and an access token that it asks the provider for.
- The program listens for the answer messages that the page returns and keeps the last one.
- If the service answers that the token has expired, the program renews the token and loads the page again, twice at most. If the error repeats, it keeps the last message as the response.
- Close the window with its close button when the issuing ends. It doesn't close by itself.
- After you close it, the program reads the response. If the issue succeeded, it saves the document number and the sending state Sent and a note in the log of the invoice, and shows a success message. If it failed and there is a response, it removes the sending state, records the failure and shows the response in the Service Response Details window. If you closed it with no response at all, the state stays In Progress, so you can repeat the command.
Customize ready-for-reporting notifications
A small window titled Customize Notifications for Invoices Ready for Reporting. It sets what the notification Invoices Ready for Reporting to the Authority shows, in the notification group Warnings. The notification appears in Saudi Arabia once phase two is ready. For notifications in general, see Notifications.
Opening the window
In the notifications panel, point to the header of the group Warnings and click the settings button.
Fields
| Field | Description | Initial value and rules |
|---|---|---|
| Enable Warnings for Invoices Ready for Reporting to the Authority | Turns the notification on. When it isn't ticked the notification shows only the text "Notifications have not been customized". | The value saved earlier. Clearing it clears and disables the six options under it, ticking it enables them. |
| Show the number of invoices from my work unit ready for reporting | Adds the line "Issued from my work unit" with the count. | The value saved earlier. |
| Show the number of invoices from other work units ready for reporting | Adds the line "Issued from other work units". | Same. |
| Show the number of invoices from my work unit ready for reporting that exceed the warning threshold in hours | Adds the line "Exceeding the warning threshold from my work unit". | The line shows only if the warning hours are set above zero in the warnings page of the E-invoice settings. |
| Show the number of invoices from other work units ready for reporting that exceed the warning threshold in hours | The same line for other work units. | The same condition. |
| Show the number of invoices from my work unit ready for reporting that exceed the blocking threshold in hours | Adds the line "Exceeding the blocking threshold from my work unit". | The line shows only if the blocking hours are set above zero in the same page. |
| Show the number of invoices from other work units ready for reporting that exceed the blocking threshold in hours | The same line for other work units. | The same condition. |
The notification has a button Show that opens the report Invoices Ready for Reporting to the Authority.
Saving
On OK the program saves the enable option first, then checks the six options. If the notification is enabled and none of the six is ticked, a message shows and the six options aren't saved, but the enable option stays saved. The values are saved for the current user.
Messages
| Message | Why it shows | What to do |
|---|---|---|
| Notifications have not been customized: No display option has been selected | You clicked OK with the enable option ticked and none of the six options ticked. | Tick at least one option or clear the enable option. |
| Invoice changes: The invoice has changed, if you continue, the changes will be ignored. Are you sure you want to continue? | You ran a command from the menu and the window holds an unsaved change. | OK ignores the changes and continues, Cancel stops the command. |
| Are you sure you want to send the invoice (and similar questions) | You chose a command that sends, approves, holds or repairs. | Click OK to continue or Cancel to go back. The questions in Syria have Yes and No. |
| You do not have permission: You don't have the appropriate authority to perform this operation | You ran a send, approve or repair command in Jordan, UAE or Turkey without its permission. | Ask the system administrator for the permission. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.