Tax Invoices List
The window shows the invoices that follow the Turkish e-invoice system in a period you choose, asks the provider for their status, and approves them, cancels them or returns them to draft. For the steps, see Manage tax invoices in Turkey.
Opening the window
Click Systems > Turkish Taxes > Tax Invoices List.
- The command appears only if your licence includes the Turkish tax system and the system is activated in the file. This system is a licence feature, not a special edition of the program.
- You need the Tax Invoices List permission in Users Management, on the Operations page.
- The items of the Operations menu have two permissions on the same page, under the Turkish VAT section: Approve e-invoice in Turkish tax and Cancel e-invoice in Turkish tax. Without them the matching command does not appear in the menu.
Filters
| Field | Description | Required | Values and rules |
|---|---|---|---|
| From | Start of the period. | Yes | A date, such as 01-01-2026. It starts with the opening date of the file. |
| To | End of the period. | Yes | A date, not before From. The period includes both days. |
| Scenario | The tax invoice scenario. | No | All (default), Basic, Commercial or Export. Medical device invoices appear only with All. |
| Tax Type | E-invoice or archive. | No | All (default), E-invoice or E-archive. |
| Status | The statuses whose invoices appear. | Yes, at least one | Thirteen statuses, all ticked at the start. See the table after this one. |
| Sources | The invoice forms whose invoices are read. | Yes, at least one | The sales forms linked to the Turkish system, then, after a separator, the sales return forms. "(Export)" is added to the name of an export form. All are ticked at the start. |
The statuses, in the order they appear in Status:
| Status | Description |
|---|---|
| Unsent | Invoices not yet sent to the provider. |
| Draft | Invoices at the provider waiting for approval. |
| Canceled | Invoices that were cancelled. |
| E-archive/Canceled | Archive invoices that were cancelled. |
| Pending Approval - Waiting, Pending Approval - Processing and Pending Approval - Sent to GIB | Stages of the invoice approval at the provider. |
| Approved | Approved invoices. |
| Waiting for customer approval | Invoices waiting for the customer's answer. |
| Declined | Invoices the customer declined. |
| Returned | Invoices the customer returned. |
| Invoice error | Invoices whose status at the provider is an error. |
| Error sending | Invoices whose number of lines in the program differs from the number at the provider. The program sets this status when it detects that. |
The program adds up the values of the ticked statuses to build the filter. The value of Error sending is not the value of a single status, so the filter changes when you tick it. With all statuses ticked at the start, the invoices that are Unsent, Draft, Canceled, E-archive/Canceled, Pending Approval - Waiting, Pending Approval - Sent to GIB, Returned and Invoice error do not appear. Clear Error sending before Refresh to get exactly the statuses you ticked.
| Button | What it does |
|---|---|
| Refresh | Reads the invoices by the filters and fills the list, and ticks all its rows. It enables Update Status if the list is not empty. It enables Operations if the list is not empty and you have the approve or cancel permission, or Invoice error is ticked in Status. Before the first Refresh both are disabled. |
| Preview | Opens the tax invoices report with the filters of the window, except the dates, which do not reach the report. See Tax invoices list reports. |
| Update Status | Asks the provider for the status of the ticked invoices and updates them. See Update status. |
| Operations | Opens the menu of approve, cancel and convert to draft. See Operations menu. |
| Close | Closes the window. |
The list
Each row has a tick box in the first column, which decides what the buttons work on. Click a column header to sort the list by it.
| Column | What it shows |
|---|---|
| (tick box) | Marks the row. All rows are ticked after Refresh. |
| Bill | The invoice number in its usual format. |
| Type | Sales or Sales returns. |
| Scenario | Basic, Commercial or Export. A medical device invoice shows Basic here. |
| Status | The status of the invoice, from the table above. |
| Tax Type | E-invoice or E-archive. |
| Serial number | The serial number saved with the invoice. |
| ETTN | The identifier the invoice is sent with to the provider and known by there. |
| Date | The invoice date. |
| Customer | The customer name. In a non-Arabic interface the Latin name shows if there is one. |
| Amount | The invoice total after extras, tax and discount. It shows 0 if your security level does not let you read prices for the invoice form. |
| GTP | The registration number of an export invoice, which the provider returns after approval. It stays empty for invoices that are not export invoices. |
The invoices that your security level does not let you see do not appear.
After any operation the program colours the rows: a row whose status changed uses the credit colour, and a row whose operation failed uses the error colour.
Update Status
Update Status works on all ticked rows, whatever their status, except rows that are Error sending, which it skips. The button needs no special permission. For each row:
- The program asks the provider for the status of the invoice, identifying it by ETTN.
- If the new status is Draft, it compares the number of invoice lines at the provider with the number in the program. If they differ, the status becomes Error sending.
- If the invoice is an export invoice, its new status is Approved and its GTP is empty, the program asks the provider for the number and saves it.
- If the status differs from the saved one, the program saves the new status in the invoice. If it is Canceled or E-archive/Canceled, the program unposts the invoice and deletes its entry. See the result in Manage tax invoices in Turkey.
- If the provider cannot be asked, the row uses the error colour and no message appears.
At the end, Update Status and Operations are disabled until the next Refresh. Operation successfully completed appears if the status of at least one invoice changed; otherwise no message appears. The program does not reread the invoices: it shows the list with the new statuses.
If no row is ticked, the message "No selected invoices" appears with "Please select invoices to update its status."
Operations menu
The menu has the commands below. It does not open if the list is empty. Each command works only on the ticked rows that suit it, and skips the others.
| Command | Appears when | Works on | What it does |
|---|---|---|---|
| Approve invoices | You have the approve permission. Disabled if no ticked row is Draft. | Draft rows. | Approves the invoice at the provider, and saves the status the provider returns. |
| Cancel invoices | You have the cancel permission. Disabled if no ticked row can be cancelled. | Draft rows, and rows of tax type E-archive whose status is Approved. | Cancels the invoice at the provider, and saves the status the provider returns. |
| Convert to Draft | Invoice error is ticked in Status, with no permission condition. Disabled if no ticked row is Invoice error. | Invoice error rows. | Asks the provider to return the invoice to draft, and saves the status the provider returns. |
For each command, before it starts:
- If no ticked row suits it, a message appears whose title starts "Unable to ... the selected invoices due to its status", with "No selected invoices to proceed the operation." and a line about the statuses the command suits.
- A row whose status is Error sending is skipped.
For each row that suits:
- Approve and Cancel: the program asks the provider for the number of lines of the invoice. If it differs from the number in the program, the program neither approves nor cancels, and the status becomes Error sending. If the question cannot be answered, the row is left unchanged. If the numbers match, the program calls the operation, and, if it succeeds, records the approval or cancellation in its log.
- Convert to Draft: if the status becomes Draft, the program compares the lines as in Update Status.
- If the call fails, the row uses the error colour and no message appears.
- If the status changed, it is saved in the invoice. If it becomes Canceled or E-archive/Canceled, the program unposts the invoice and deletes its entry.
After the command, Operation successfully completed appears if the status of at least one invoice changed, and Update Status and Operations are disabled until the next Refresh.
Right-click menu
Right-click a row.
| Command | What it does |
|---|---|
Grid Lines (Ctrl+G) | Shows or hides the grid lines of the list. |
| Display Bill | Opens the invoice in the window of its form. |
| Display Actions Log | Asks the provider for the invoice's event log and shows it in the Actions Log window. |
Actions Log
A window that shows what the provider recorded as events on one invoice. The program asks the provider for the log when you open it, with a progress bar that reads "Requesting actions log from the website". If no event comes back, the window does not open and no message appears. If the request fails, the error message appears.
| Item | Description |
|---|---|
| ETTN | The identifier of the invoice. Read-only. |
| Invoice Status | The status of the invoice when the window opened, in a coloured box. |
| The list | The events, with the columns Time, User and Message. |
| Close | Closes the window. |
The colour of the status box follows the status: Unsent black text on light grey, Draft red text on white, Pending Approval - Waiting and Pending Approval - Processing a blue background, Pending Approval - Sent to GIB a dark blue background, Waiting for customer approval a green background with black text, Declined a light red background, Returned a maroon background, Invoice error a red background, Canceled and E-archive/Canceled a grey background, Approved a dark green background.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| Beginning date is bigger than ending date | From is after To. | Correct the dates. |
| Error in selecting parameters, with "Please select one status at least" | No status is ticked. | Tick a status. |
| Please select report sources | No form is ticked in Sources. | Tick a form. |
| No selected invoices, "Please select invoices to update its status." | You clicked Update Status and no row is ticked. | Tick the invoices. |
| Unable to approve the selected invoices due to its status, "Only invoices in Draft status can be approved." | No ticked row is Draft. | Tick a Draft invoice. |
| Unable to cancel the selected invoices due to its status, "Only invoices in Draft status or invoices of Archive style and approved can be canceled." | No ticked row can be cancelled. | Tick a suitable invoice. |
| Unable to convert the selected invoices to Draft due to its status, "Only invoices in Error status can be approved." | No ticked row is Invoice error. | Tick an Invoice error invoice. |
| Operation successfully completed | The status of at least one invoice changed after an update, approval, cancellation or conversion. | Review the row statuses. |
| Connection error, "Unable to establish a connection with Web Service! Make sure you are connected to the internet." | The request of Display Actions Log could not connect. | Check the internet and try again. |
| Connection error, "The reason may be a problem with the device time. Please set the time correctly and try again." | The provider refused the request of Display Actions Log because of the device time. | Set the device time and try again. |
When Update Status, approve, cancel or convert fails, the program shows no message; it only colours the row. To find the reason, open Display Actions Log for the invoice.
Related
This page applies to alameen ERP 10, version 10.1.79.764.