FTA audit files
This page covers three windows that export UAE tax data to files you give to the Federal Tax Authority. The first writes an XML file with the VAT return data of a closed tax period. The second and third generate an audit file in Excel, one for VAT and one for excise tax, for a date range that you enter. For the steps see Export the FTA audit file (UAE).
Opening the windows
The three commands appear in alameen ERP 10 when the Gulf tax system is active in the file, the tax country is the UAE and your licence includes the tax feature. In the ribbon: Systems > UAE Taxes > Tools.
| Window | Command | Permission in Users Management | Extra condition |
|---|---|---|---|
| Export FTA Audit File | Export FTA Audit File | Operations > Export FTA Audit File | None. |
| Generate FTA VAT Audit File ( FAF ) | Generate FTA VAT Audit File ( FAF ) | Reports > Generate FTA VAT Audit File ( FAF ) | None. |
| Generate FTA Excise Tax Audit File ( FAF) | Generate FTA Excise Tax Audit File ( FAF) | Reports > Generate FTA Excise Tax Audit File ( FAF) | Shown only if excise tax is used on the Tax Types page of Tax Settings. |
Export FTA Audit File
The window title is Export FTA Audit File. It writes an XML file that holds the VAT return data the program calculates for a closed tax period, together with the details of the person who declares it. The window does not send the file anywhere: it saves it in the path you choose.
Fields
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Declarant name ( English ) | The declarant's name in Latin letters. | No | Up to 64 characters. |
| Declarant name ( Arabic ) | The declarant's name in Arabic. | No | Up to 64 characters. |
| Emirates ID Card number | The declarant's identity number. | No | Up to 64 characters. |
| Passport number | The declarant's passport number. | No | Up to 20 characters. |
| Declarant mobile country code | The country of the declarant's phone. | No | A list of countries with English names and the dialling code, such as United Arab Emirates(+971). The file gets the three-letter country code, such as ARE. The first entry is selected when no code was saved. |
| Declarant mobile number | The phone number without the country code. | No | Up to 20 characters. |
| E-mail address | The declarant's e-mail address. | No | Up to 256 characters. |
| Submission date | The date the return is submitted. | No | A date field, see Date fields. It starts with today's date when no date was saved. |
| Tax Period | The period whose return is calculated. | Yes | The list holds the closed periods only and starts with the first one. If no period is closed the list stays empty and Export is disabled. Close the period first in Audit and close a tax period. |
| I declare that all information provided is true, accurate and complete to the best of my knowledge and belief. | The declarant's confirmation. | Yes, to export | Ticked the first time. |
| Are you, as the Online User, making this declaration? | Says whether the declarant is the user of the authority's online portal. | No | Not ticked the first time. |
| File | The path of the file to write. | Yes | The path appears in the box after you choose it with the browse button. Typing in the box does not change the path the program uses, so always choose the path with the button. |
The Export Options group chooses which parts of the file are written:
| Option | What it adds to the file | First time |
|---|---|---|
| VAT Return | The sales, purchases and net tax sections. | Ticked |
| Goods transferred to GCC implementing states | The section for goods transferred to Gulf states. | Not ticked |
| VAT paid on personal imports via Agents | The section for tax paid through agents. | Not ticked |
| Transportation of own goods to other GCC states | The section for transport of own goods. | Not ticked |
Buttons
| Button | What it does |
|---|---|
| Browse (the button next to the file box, with no text) | Opens a save window for an XML file, where you choose the path and name. The program adds .xml if the name has no such extension. |
| Export | Checks the file name, then calculates the figures and writes the file. When it is enabled is explained after this table. |
| Close | Closes the window without doing anything. |
The window does not require the declarant fields. Export is disabled in two cases:
- No tax period is selected, or the file has no closed period.
- After you click any of the five check boxes (the declaration and the four export options): the button is enabled only if a period is selected, the declaration box is ticked and at least one export option is ticked. The program does not repeat this check when you change the period.
What Export does
- If the path is empty the message "File Name Missing" appears and nothing else happens.
- If the file exists the program asks "The file already exists on the disk. Do you want to replace it?" and shows the path. Click No to go back.
- The program calculates the figures of the selected period from the current bills and entries, with the same calculation as the report Tax Return - Value Added Tax. It does not read the copy stored when the period was closed.
- It writes the file, then the message "Operation successfully completed" appears with the path.
- After success the program saves everything in the window in the file's options so that it shows it next time (the path, the declarant fields, the date and the check boxes), and records the action in the event log with the note "Export FTA Audit File".
The message "Operation successfully completed" also appears if part of the data could not be read during the calculation. The file may then be incomplete. Open the file after exporting, review its sections, and export again if a section is missing.
What the XML file holds
The root is formData with VATRETURN under it. The sections in the order they are written:
| Section | When it is written | Content and source |
|---|---|---|
receiveDate and formType | Always | Two empty elements. |
taxablePersonDetails | Always | trn is empty. tan comes from Tax Agent Number(TAN) and taan from Agency Accreditation No, both on the Tax Agency Info page of Tax Settings. |
vatReturnPeriod | Always | Two empty elements (vatReturnPeriod and year). The period you chose is not written to the file. It only decides which figures are calculated. |
outputSales | VAT Return ticked | The output lines. Details after the table. |
inputPurchases | VAT Return ticked | The input lines. Details after the table. |
netVATDue | VAT Return ticked | The element vatRefundCheck with Y or N. This window has no field to set it. |
profitMarginScheme | Always | The element profitMarginFlag with Y or N. This window has no field to set it. |
goodsTransferedGCC | The goods option ticked | For each tax location with the GCC classification and a parent location: three elements with zero. |
vataPaidViaAgent | The agents option ticked | The element agentPaidOnBehalf with Y or N (no field to set it), then three elements with zero for each tax location with the GCC classification and a parent location. |
transportOwnGoodsGCC | The transport option ticked | Three elements with zero for each tax location with the GCC classification and a parent location. |
recoverableVATPaidGCC | Always | Three elements with zero for each tax location with the GCC classification and a parent location. |
relevantDocuments | Always | Two elements that hold a blank. |
touristRefund | Always | Three elements with zero for each local location that has a parent location (the emirates). It does not carry the tourist refund amounts. |
declaration | Always | confirmDeclaration with Y or N from the declaration box. |
signatory | Always | onlineUserDeclaration (Y or N), then the English and Arabic names, identity number, passport number, the three-letter country code, phone number, e-mail and submission date. |
maintenance | Always | The element onlineUserId holding a blank. |
Output and input lines: each figure comes from the columns Amount, VAT amount and Adjustment of the matching return line, as in the return report:
| Element | Return line |
|---|---|
…Amount, …VATA and …Adjust with the emirate prefix | Standard rated supplies of each local tax location. |
supRevAmount, supRevVATA and supRevAdjust | Supplies subject to the reverse charge provisions (outputs). |
ZeroSupplies | Zero rated supplies. |
exemptGoods | Exempt supplies. |
zeroRateGCC | The line for supplies to customers registered in other Gulf states. Written only if the calculation returns a separate line for it. |
amendAmount and amendVATA in outputSales | Total (outputs). |
standardRateReceiveAmount, standardRateRecoverableVAT and standardRateAdjustments | Standard rated expenses. |
suppliesSubjectReverseAmount, suppliesReverseRecoverable and suppliesReverseAdjust | Supplies subject to the reverse charge provisions (inputs). |
amendAmount and amendRecoverVATA in inputPurchases | Total (inputs). |
The program does not write the lines for tourist refunds, goods imported and adjustments to goods imported in the file.
The emirate prefix is taken from the Arabic name of the tax location: abuDhabi for Abu Dhabi, dubai for Dubai, sharjah for Sharjah, ajman for Ajman, umm for Umm Al Quwain, ras for Ras Al Khaimah, fuj for Fujairah, baharain for Bahrain, kuwait for Kuwait, oman for Oman, qatar for Qatar and saudi for Saudi Arabia. If you renamed a location to another name, its elements are written without a prefix (Amount, VATA and Adjust).
Every amount is written with one digit after the decimal point, using the decimal symbol and the thousands separator set in the program's number settings.
Generate FTA VAT Audit File ( FAF )
The window title is Generate FTA VAT Audit File ( FAF ). It produces an Excel file (.xlsx) with one sheet named Sheet 1, which holds the data sections the authority asks for one after another. Every cell is written as text, numbers and dates included. Numbers follow the decimal places and separators of prices in the program settings.
Fields and buttons
| Item | Description | Required | Values and rules |
|---|---|---|---|
| From | The start of the range. | Yes | A date field. The program does not fill it and does not check it before generating. |
| To | The end of the range. | Yes | A date field. Operations dated on the two end days are included. |
| File Path | The path of the Excel file. | Yes | Shown after you browse. Typing in the box does not change the path used. |
| Browse (no text) | A save window for an xlsx file. The program adds .xlsx if you did not type it. | ||
| Generate | Reads the data and writes the file. It does not ask before replacing an existing file. | ||
| Close | Closes the window. |
The window does not check that a path was chosen or that the two dates are entered before Generate. Choose the path first. If you do not, the success message may appear without a file being saved.
Sections of the file
Each section starts with a title row and ends with a closing row. The first row of every section is a heading in bold.
| Section (start row / end row) | Columns | Where the figures come from |
|---|---|---|
Company information (CompInfoStart / CompInfoEnd) | TaxablePersonNameEn, TaxablePersonNameAr, TRN, TaxAgencyName, TAN, TaxAgentName, TAAN, PeriodStart, PeriodEnd, FAFCreationDate, ProductVersion, FAFVersion | The company's Latin and Arabic names, the tax number of the first tax type and the agency name come from Tax Settings. Under TAN the program writes Agency Accreditation No, and under both TaxAgentName and TAAN it writes Tax Agent Number(TAN). PeriodStart and PeriodEnd come from the window and FAFCreationDate is today's date. ProductVersion is the text alameen ERP v10.0 and FAFVersion is FAFv1.0.0. |
Suppliers (SupplierInfoStart / SupplierInfoEnd) | Name, GL / ID, Location of Supplier, TRN, Reverse charges | Every customer or supplier with at least one purchase bill in the file, whatever its date. GL / ID is the account code. Location of Supplier is the Country field of the tax page of its card. TRN is its VAT tax number. Reverse charges is Yes or No from the Reverse Charge option of its card. The closing row holds the number of rows under TransactionCountTotal. |
Customers (CustomerInfoStart / CustomerInfoEnd) | Name, GL / ID, Location of Supplier, TRN | As for suppliers, for every customer with at least one sales bill. The closing row holds the count. |
Purchases (PurcDataStart / PurcDataEnd) | Supplier Name, SupplierTIN/TRN, InvoiceDate, InvoiceNo, PermitNo, LineNo, ProductDescription, PurchaseValueAED, VATValueAED, TaxCode, FCY Code, PurchaseFCY, AEDFCY | One row for each item of a purchase bill dated in the range. Purchase forms marked as price offers and purchase returns are not included. PermitNo is always 0. LineNo is the item number in the bill, starting at 1. ProductDescription is the material code and name with a hyphen between them. PurchaseValueAED is price × quantity minus the item discount and its share of the bill discount, plus its extras. VATValueAED is the item's tax. TaxCode is the item's tax code. FCY Code is the bill's currency code. PurchaseFCY and AEDFCY are the two values divided by the currency rate of the bill, and are 0 when the rate is 1. Closing row: PurchaseTotalAED, VATTotalAED and TransactionCountTotal. |
Sales (SuppDataStart / SuppDataEnd) | Customer Name, CustomerTIN/TRN, InvoiceDate, InvoiceNo, PermitNo, LineNo, ProductDescription, SupplyValueAED, VATValueAED, TaxCode, Country, FCY Code, SupplyFCY, AEDFCY | As for purchases, for sales bills and without sales returns. The Country column stays empty. Closing row: SupplyTotalAED, VATTotalAED and TransactionCountTotal. The row with the values starts with the text PurcDataEnd, not SuppDataEnd. |
General ledger (GLDataStart / GLDataEnd) | TransactionDate, AccountID, AccountName, TransactionDescription, Name, TransactionID, SourceDocumentID, SourceType, Debit, Credit, Balance | Every line of every entry dated in the range, of any type and any account. AccountID is the account code and AccountName its name. TransactionDescription is the line's note. Name is empty. TransactionID is the entry number. SourceDocumentID and SourceType give the number and kind of the document that generated the entry (a bill or a voucher). Balance is the line's debit minus its credit, not a running balance. Closing row: TotalDebit, TotalCredit, TransactionCountTotal and GLTCurrency (the file's default currency code). |
Materials (ProductInfoStart / ProductInfoEnd) | Product / Service Reference, Description of the Goods/Services, VAT Code | Every material that has a VAT tax record on the tax page of its card. The reference is the material code and name, the description is the Specifications field of its card and the code is its tax code. Closing row: the number of materials. |
The sections are written in the order of the table.
Generate FTA Excise Tax Audit File ( FAF)
The window title is Generate FTA Excise Tax Audit File ( FAF). Its fields, buttons and warning are as in the VAT file window, and the sections of the file are the same. The differences:
| Aspect | In the excise tax file |
|---|---|
| Customers and suppliers | Only those that have an excise tax code are listed, and TRN holds their excise tax number. |
| Purchases and sales | Only items that have an excise code are included. The tax column is named ExciseTaxValueAED, the foreign-currency column ExciseTaxFCY and the total in the closing row ExciseTaxTotalAED. The tax value is the item's excise tax and TaxCode is its excise code. |
| Materials | The materials that have an excise tax record, and the last column is named Excise Code. |
| Company information | The tax number of the first tax type is written, the same one as in the VAT file. |
| General ledger | As in the VAT file, with all entries in the range. |
Messages
| Message | Why it appears | What to do |
|---|---|---|
| "File Name Missing" | You clicked Export in the XML window and the path is empty. | Choose the path with the browse button. |
| "The file already exists on the disk. Do you want to replace it?" | The chosen file exists (XML window). | Click Yes to replace it or No to change the name. |
| "Operation successfully completed" with the path | The XML export finished. | Review the file. |
| "An error occurred while exporting, cannot continue!" | The Excel file could not be created or the data could not be read from the database. | Try again and check the connection to the database. |
| "File exported to: …" | The Excel file was generated. | Open the file from the path shown. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.