Skip to main content

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.

WindowCommandPermission in Users ManagementExtra condition
Export FTA Audit FileExport FTA Audit FileOperations > Export FTA Audit FileNone.
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​

FieldDescriptionRequiredValues and rules
Declarant name ( English )The declarant's name in Latin letters.NoUp to 64 characters.
Declarant name ( Arabic )The declarant's name in Arabic.NoUp to 64 characters.
Emirates ID Card numberThe declarant's identity number.NoUp to 64 characters.
Passport numberThe declarant's passport number.NoUp to 20 characters.
Declarant mobile country codeThe country of the declarant's phone.NoA 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 numberThe phone number without the country code.NoUp to 20 characters.
E-mail addressThe declarant's e-mail address.NoUp to 256 characters.
Submission dateThe date the return is submitted.NoA date field, see Date fields. It starts with today's date when no date was saved.
Tax PeriodThe period whose return is calculated.YesThe 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 exportTicked 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.NoNot ticked the first time.
FileThe path of the file to write.YesThe 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:

OptionWhat it adds to the fileFirst time
VAT ReturnThe sales, purchases and net tax sections.Ticked
Goods transferred to GCC implementing statesThe section for goods transferred to Gulf states.Not ticked
VAT paid on personal imports via AgentsThe section for tax paid through agents.Not ticked
Transportation of own goods to other GCC statesThe section for transport of own goods.Not ticked

Buttons​

ButtonWhat 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.
ExportChecks the file name, then calculates the figures and writes the file. When it is enabled is explained after this table.
CloseCloses 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​

  1. If the path is empty the message "File Name Missing" appears and nothing else happens.
  2. 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.
  3. 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.
  4. It writes the file, then the message "Operation successfully completed" appears with the path.
  5. 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".
warning

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:

SectionWhen it is writtenContent and source
receiveDate and formTypeAlwaysTwo empty elements.
taxablePersonDetailsAlwaystrn 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.
vatReturnPeriodAlwaysTwo empty elements (vatReturnPeriod and year). The period you chose is not written to the file. It only decides which figures are calculated.
outputSalesVAT Return tickedThe output lines. Details after the table.
inputPurchasesVAT Return tickedThe input lines. Details after the table.
netVATDueVAT Return tickedThe element vatRefundCheck with Y or N. This window has no field to set it.
profitMarginSchemeAlwaysThe element profitMarginFlag with Y or N. This window has no field to set it.
goodsTransferedGCCThe goods option tickedFor each tax location with the GCC classification and a parent location: three elements with zero.
vataPaidViaAgentThe agents option tickedThe 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.
transportOwnGoodsGCCThe transport option tickedThree elements with zero for each tax location with the GCC classification and a parent location.
recoverableVATPaidGCCAlwaysThree elements with zero for each tax location with the GCC classification and a parent location.
relevantDocumentsAlwaysTwo elements that hold a blank.
touristRefundAlwaysThree elements with zero for each local location that has a parent location (the emirates). It does not carry the tourist refund amounts.
declarationAlwaysconfirmDeclaration with Y or N from the declaration box.
signatoryAlwaysonlineUserDeclaration (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.
maintenanceAlwaysThe 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:

ElementReturn line
…Amount, …VATA and …Adjust with the emirate prefixStandard rated supplies of each local tax location.
supRevAmount, supRevVATA and supRevAdjustSupplies subject to the reverse charge provisions (outputs).
ZeroSuppliesZero rated supplies.
exemptGoodsExempt supplies.
zeroRateGCCThe 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 outputSalesTotal (outputs).
standardRateReceiveAmount, standardRateRecoverableVAT and standardRateAdjustmentsStandard rated expenses.
suppliesSubjectReverseAmount, suppliesReverseRecoverable and suppliesReverseAdjustSupplies subject to the reverse charge provisions (inputs).
amendAmount and amendRecoverVATA in inputPurchasesTotal (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​

ItemDescriptionRequiredValues and rules
FromThe start of the range.YesA date field. The program does not fill it and does not check it before generating.
ToThe end of the range.YesA date field. Operations dated on the two end days are included.
File PathThe path of the Excel file.YesShown 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.
GenerateReads the data and writes the file. It does not ask before replacing an existing file.
CloseCloses the window.
warning

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)ColumnsWhere the figures come from
Company information (CompInfoStart / CompInfoEnd)TaxablePersonNameEn, TaxablePersonNameAr, TRN, TaxAgencyName, TAN, TaxAgentName, TAAN, PeriodStart, PeriodEnd, FAFCreationDate, ProductVersion, FAFVersionThe 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 chargesEvery 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, TRNAs 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, AEDFCYOne 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, AEDFCYAs 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, BalanceEvery 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 CodeEvery 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:

AspectIn the excise tax file
Customers and suppliersOnly those that have an excise tax code are listed, and TRN holds their excise tax number.
Purchases and salesOnly 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.
MaterialsThe materials that have an excise tax record, and the last column is named Excise Code.
Company informationThe tax number of the first tax type is written, the same one as in the VAT file.
General ledgerAs in the VAT file, with all entries in the range.

Messages​

MessageWhy it appearsWhat 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 pathThe 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.

This page applies to alameen ERP 10, version 10.1.79.764.