Skip to main content

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.

ConditionEffect
Bill form typeThe 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 TurkeyThe button is disabled in a new bill that isn't saved yet, and enabled in a saved bill.
Saudi ArabiaThe button is always enabled, also in a new bill.
SyriaThe 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.
UAEThe 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.

CommandWhen it showsWhat it does
Validate Invoice before SendState 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 InvoiceState 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 InvoiceState 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 ActivitySame 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 WebsiteState 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 DetailsState 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 StatusEvery 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 WebsiteSame states.Opens the page of the document at the tax authority website in the browser.
Import Invoice as PDFSame 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 websiteA sales return bill linked to a sent sales invoice.Opens the original sales document at the website.
Cancel InvoiceState 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 ModeThe 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 DetailsAlways, 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.

CommandWhen it showsWhat it does
Validate Invoice before SendState 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 InvoiceState 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 XMLAlways, if you have the permission Save invoice as XML.Asks for a file name, then saves the invoice in XML format.
Tax Invoices ListAlways, 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.

CommandWhen it showsWhat it does
Update StatusEvery 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 InvoiceState 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 DraftState Invoice error.Asks the service to return the invoice to a draft.
Import Invoice as PDFA 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 PDFSame 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​

CommandWhen it showsWhat it does
Validate E-invoice RequirementsAlways.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 invoiceA 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 TimePhase 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 NumberAlways.Opens the window that searches an invoice by its sequential number.
Search by counter numberPhase 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.

CommandExtra conditionWhat it does
Generate XML fileManual 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 fileSame 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 fileSame conditions as the XML file.Saves the invoice in a JSON file.
ArchivesAutomatic 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 FilePhase two ready, and the state is cleared, reported, with warnings, or ready for reporting.Opens the comparison report on this invoice.

Changing after approval​

CommandWhen it showsWhat 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​

CommandWhen it showsWhat it does
Show invoice detailsStates 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 detailsState rejected, or cleared or reported with warnings.Shows the last response from the authority in the Service Response Details window.
Resend InvoiceState 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).

CommandWhen it showsWhat it does
Verify invoice complianceThe 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 complianceThe 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 invoiceReal 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 InvoiceReal sending, state Ready for reporting, and you have the permission Reporting Invoice.Sends the prepared invoice.
Fix invoiceReal 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 PaymentReal 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 InvoiceReal 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 InvoicePhase 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:

CommandWhen it showsWhat it does
Add invoice as DraftA 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 DraftA 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 InvoiceThe 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 PaymentsThe invoice is a final invoice.Shows the linked advance payments, read only.

Tourists​

CommandWhen it showsWhat it does
Send Invoices to the VAT Refund ServiceA 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​

CommandWhen it showsWhat it does
Prepare InvoicePhase 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 InvoiceThe 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.

CommandWhen it showsWhat it does
Validate E-invoice RequirementsA sending form.Checks the invoice on the screen. On success a success message shows.
Prepare InvoiceA 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 InvoiceA 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 expenseA 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 codeA 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 detailsPhase 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 DetailsPhase two, and the invoice has a discounts expense.Opens the details of the discounts expense.
Generate discounts expensePhase 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 expenseThe 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 InvoiceA 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 DraftThe 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).

CommandWhen it showsWhat it does
Validate E-invoice RequirementsAlways, when the button shows.Checks the invoice and shows that the check succeeded.
Search by Sequential NumberAlways.Opens the search window. See UAE: search by serial number.
Generate a file in XML format and Generate a file in JSON formatThe option Allow manual generation of an XML file or Allow manual generation of a JSON file.Generates the invoice file in that format.
Send InvoiceA 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 invoiceState Pending, and you have the permission Send Invoice.Asks to confirm, then handles the pending submission and refreshes the bill.
Update StatusState Submitted or Under Review.Asks the service for the state of the invoice and updates it.
Resend InvoiceState Invalid, and you have the permission Resend Invoice.Sends it again.
Show error / warning detailsState Invalid.Shows the response in the Service Response Details window.
Show invoice detailsEvery 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​

FromWhen
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 detailsIn a Saudi or UAE bill or note. It shows the last response saved for the bill.
Show invoice details in SyriaIt shows the return reason saved for the invoice, and nothing if it is empty.
Verify invoice complianceIt shows the result of the check, with the name of this operation in the window.
Send Invoices to the VAT Refund ServiceIt 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 StatusCode with the response code of the service if there is one, then a line ResultStatus with the result of the operation: Successed, Faild, ConnectionError, RejectedDocuments or 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: acceptedDocuments green, warningMessages yellow, rejectedDocuments orange, errorMessages red, infoMessages green. Under each section the message lines carry the message of the service.
  • reportingStatus and clearanceStatus are green, and red when the value is NOT_REPORTED or NOT_CLEARED.
  • If the Saudi e-invoice system isn't on in the file, the headings Contents and Headers and 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​

  1. 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.
  2. The program listens for the answer messages that the page returns and keeps the last one.
  3. 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.
  4. Close the window with its close button when the issuing ends. It doesn't close by itself.
  5. 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​

FieldDescriptionInitial value and rules
Enable Warnings for Invoices Ready for Reporting to the AuthorityTurns 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 reportingAdds 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 reportingAdds 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 hoursAdds 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 hoursThe 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 hoursAdds 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 hoursThe 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​

MessageWhy it showsWhat to do
Notifications have not been customized: No display option has been selectedYou 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 operationYou ran a send, approve or repair command in Jordan, UAE or Turkey without its permission.Ask the system administrator for the permission.

This page applies to alameen ERP 10, version 10.1.79.764.