BeyondERP.Newsletter
Menu

Report page · General ledger

Standard Audit File for Tax (SAF-T)

The page that runs the Standard Audit File for Tax (SAF-T) Electronic reporting format selected for the legal entity in General ledger parameters. The menu item read in the live system is SAFTReport_Standard_LT, the Lithuanian SAF-T variant.

Used by
Accountant
Business process
Report tax and financial data to authorities in Dynamics 365 Finance
Menu item
output:SAFTReport_Standard_LT
Setup steps
1 on this page

How this guide was checked

Source
Written from Microsoft's official Dynamics 365 documentation.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “SAF-T file generates”, to confirm this setup in your own test environment.
Show what matters for
PAGE GUIDEWhat the page does and how to use it8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isThe page that runs the Standard Audit File for Tax (SAF-T) Electronic reporting format selected for the legal entity in General ledger parameters. The menu item read in the live system is SAFTReport_Standard_LT, the Lithuanian SAF-T variant.
What you do hereUse this page to generate the SAF-T file after the ER format is selected on the General ledger parameters page and the report parameters are entered.
ExampleFor example, for a Lithuanian legal entity the SAF-T Format (LT) is selected in General ledger parameters. The accountant generates the GL file type for 01/10/2026 to 31/10/2026 in 1 part and submits the XML to the tax authority.
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

When to run it

When to run itWhen the tax authority asks for a SAF-T file, or on the country's filing schedule.
How oftenAs the country requires; for Lithuania, per requested period, with at least one month per file or part.
What the output showsAn XML file in the selected SAF-T format with the header, master files and, depending on the file type, general ledger entries and source documents.

Source: Microsoft Learn

Setup steps on this page

Generate the SAF-T file

Produce the Standard Audit File for Tax for the tax authority.

Steps from Microsoft

  1. In Feature management, enable Standard Audit File for Tax (SAF-T) electronic report.
  2. Import the SAF-T ER configurations for the country, for Lithuania the Standard Audit File (SAF-T) model, SAF-T General model mapping and SAF-T Format (LT).
  3. Go to General ledger > Ledger setup > General ledger parameters and, on the Standard Audit File for Tax (SAF-T) tab, select the format.
  4. Go to General ledger > Inquiries and reports > Standard Audit File for Tax (SAF-T) > Standard Audit File for Tax (SAF-T).
  5. Enter the file type, reporting period, dates and parts, select OK, and check the generated XML before you submit it.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
SAF-T File typeLithuania: F for a full file, or GL, PI, PA, SI, MG or AS for one part (ledger, purchases, payments, sales, goods movements, fixed assets).Microsoft Learn GL
Reporting period from / toThe start and end of the period the SAF-T is requested for.Microsoft Learn 01/10/2026 to 31/10/2026
From date / To dateThe dates the data covers; one file or part covers at least one month and at most the reporting period.Microsoft Learn 01/10/2026 to 31/10/2026
Number of parts / Part numberHow many parts the SAF-T is generated in, and which part this run produces.Microsoft Learn 1 / 1
Print zero balanceIncludes all main accounts, also those with a zero balance in the period.Microsoft Learn No

Common errors and fixes

MessageWhat to do
No SAF-T format can be selected in General ledger parametersEnable the Standard Audit File for Tax (SAF-T) electronic report feature and import the country's ER configurations first. Microsoft Learn
Counteragent detail is wrong for bank statement entriesWith One voucher, bank statement transactions for different counteragents must be posted with different vouchers. Microsoft Learn
Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Generate the SAF-T fileEnable the SAF-T electronic report feature, import the country's ER configurations, select the format in General ledger parameters, then generate per requested period.The page runs the format selected for the legal entity, so without the feature and the format there is nothing to run.How is the SAF-T delivered?Generating before the application-specific parameters (lookups) of the format are completed, so dimensions or tax codes are mapped wrongly.Test: SAF-T file generates

Feature management and licence

Feature to turn onStandard Audit File for Tax (SAF-T) electronic report (Required, available from 10.0.26)
Licence or add-inIn this system 1 role can run this page, among them Accountant. Supported formats include Denmark, Lithuania, Norway, Poland, Singapore and the United Arab Emirates.

Microsoft Learn

Solution architect

5Design impact

Shared or per companyPer company: the format is selected per legal entity in General ledger parameters, for the country in the legal entity's primary address. Microsoft Learn
Can it be undoneReversible: Generating the file changes no ledger data; it can be generated again. Microsoft Learn
If you change it laterGenerating changes no ledger data. The content follows the ER format and its application-specific parameters, so a new format version or parameter change changes the next file. Microsoft Learn
Technical architect

6Technical

Menu itemoutput:SAFTReport_Standard_LT
Who can open it

1 security role. Select a role to see its duties and privileges.

  • RoleAccountantLedgerAccountant
    • DutyInquire into electronic audit dataElectronicAuditDataInquire_W
      • PrivilegeGenerate Standard Audit File for Tax (SAF-T) reportsStandardAuditFileGenerate_W
Roles worked out from Microsoft's standard security setup and checked in a working Dynamics 365 system (version 10.0.49)
Roles to set it up and use itTo use itAccountant LedgerAccountantGive people one of these roles. On this system, 1 role can run this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=output:SAFTReport_Standard_LT
Data migrationLoad order: Standard Audit File for Tax (SAF-T) has no data entity in Data management, so there is nothing to load from a file or a configuration template. It is an Electronic reporting export. Import its ER configurations in each environment and set the format in General ledger parameters.Microsoft Learn
Everyone

8Sources