---
id: change/bcapps/9104
type: change
title: "#9104 Delocalize Export G/L Entries to XML into Audit File Export framework"
summary: Export of G/L entries to XML is rebuilt on the shared Audit File Export framework as a new XML Audit File app (FR), with tests. A new page visibility interface on the Audit File Export Format enum lets each format control which fields and actions show on the Audit File Export Doc. Card.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - enumextension audit file export format fec
  - pageextension audit export doc. card fec
  - codeunit page visibility fec
  - enumextension audit file export format xml
  - codeunit data check xml
  - codeunit data handling xml
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-21T00:48:36.872Z"
  flags: []
generated:
  at: "2026-10-29T00:16:37.959Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 8c79a8bbbd3fd61e57b542dcd095cc7290cbcec4
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9104
    title: "microsoft/BCApps#9104: Delocalize Export G/L Entries to XML into Audit File Export framework"
    date: "2026-10-20"
    commit: 8c79a8bbbd3fd61e57b542dcd095cc7290cbcec4
    t: null
    quote: To make this capability available beyond FR and reusable across localizations, it needs to be delocalized onto the shared Audit File Export framework.
links:
  learn: []
  objects:
    - object/enumextension/10826-fr
    - object/pageextension/10826-fr
    - object/codeunit/10879-fr
    - object/enumextension/10803-fr
    - object/codeunit/10805-fr
    - object/codeunit/10806-fr
    - object/pageextension/10803-fr
    - object/tableextension/10803-fr
    - object/codeunit/10811-fr
    - object/xmlport/10803-fr
    - object/codeunit/10813-fr
    - object/permissionset/10808-fr
    - object/permissionset/10807-fr
    - object/pageextension/10804-fr
    - object/pageextension/10805-fr
    - object/codeunit/10804-fr
    - object/enumextension/5315-se
    - object/codeunit/5315-se
    - object/pageextension/5314-se
    - object/enum/5262
    - object/interface/audit-file-export-page-visibility
    - object/codeunit/5311
    - object/page/5267
    - object/codeunit/5281
    - object/enumextension/5280
    - object/pageextension/5283
    - object/xmlport/10800-fr
    - object/report/10820-fr
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/finance-how-to-export-audit-files
      title: Export data for auditing
      label: possibly related
      why: Audit file export for GL entries in multiple formats including FEC and SAF-T frameworks
      by: model
    - to: https://learn.microsoft.com/dynamics365/business-central/LocalFunctionality/France/export-french-audit-file
      title: Export entries for tax audits
      label: possibly related
      why: Export GL entries in FEC format for French tax audit compliance
      by: model
number: 9104
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9104
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-20T21:47:21Z"
author: ventselartur
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Build: scripts & configs"
  - "Team: Finance"
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 43
  additions: 1429
  deletions: 112
  al: 29
apps:
  - AuditFileExport
  - Base Application
  - FECAuditFile
  - SAF-T
  - SIE
  - XMLAuditFile
objects_touched:
  - key: enumextension/10826
    page: enumextension/10826-fr
    type: enumextension
    id: 10826
    name: Audit File Export Format FEC
    app: FECAuditFile
    status: modified
  - key: pageextension/10826
    page: pageextension/10826-fr
    type: pageextension
    id: 10826
    name: Audit Export Doc. Card FEC
    app: FECAuditFile
    status: modified
  - key: codeunit/10879
    page: codeunit/10879-fr
    type: codeunit
    id: 10879
    name: Page Visibility FEC
    app: FECAuditFile
    status: added
  - key: enumextension/10803
    page: enumextension/10803-fr
    type: enumextension
    id: 10803
    name: Audit File Export Format XML
    app: XMLAuditFile
    status: added
  - key: codeunit/10805
    page: codeunit/10805-fr
    type: codeunit
    id: 10805
    name: Data Check XML
    app: XMLAuditFile
    status: added
  - key: codeunit/10806
    page: codeunit/10806-fr
    type: codeunit
    id: 10806
    name: Data Handling XML
    app: XMLAuditFile
    status: added
  - key: pageextension/10803
    page: pageextension/10803-fr
    type: pageextension
    id: 10803
    name: Audit Export Doc. Card XML
    app: XMLAuditFile
    status: added
  - key: tableextension/10803
    page: tableextension/10803-fr
    type: tableextension
    id: 10803
    name: Audit File Export Header XML
    app: XMLAuditFile
    status: added
  - key: codeunit/10811
    page: codeunit/10811-fr
    type: codeunit
    id: 10811
    name: Generate File XML
    app: XMLAuditFile
    status: added
  - key: xmlport/10803
    page: xmlport/10803-fr
    type: xmlport
    id: 10803
    name: Export G/L Entries FR
    app: XMLAuditFile
    status: added
  - key: codeunit/10813
    page: codeunit/10813-fr
    type: codeunit
    id: 10813
    name: Page Visibility XML
    app: XMLAuditFile
    status: added
  - key: permissionset/10808
    page: permissionset/10808-fr
    type: permissionset
    id: 10808
    name: XML Audit - Export
    app: XMLAuditFile
    status: added
  - key: permissionset/10807
    page: permissionset/10807-fr
    type: permissionset
    id: 10807
    name: XML - Objects
    app: XMLAuditFile
    status: added
  - key: pageextension/10804
    page: pageextension/10804-fr
    type: pageextension
    id: 10804
    name: Audit Export Format Setup XML
    app: XMLAuditFile
    status: added
  - key: pageextension/10805
    page: pageextension/10805-fr
    type: pageextension
    id: 10805
    name: Audit File Export Setup XML
    app: XMLAuditFile
    status: added
  - key: codeunit/10804
    page: codeunit/10804-fr
    type: codeunit
    id: 10804
    name: Install XML
    app: XMLAuditFile
    status: added
  - key: enumextension/5315
    page: enumextension/5315-se
    type: enumextension
    id: 5315
    name: Audit File Export Format SIE
    app: SIE
    status: modified
  - key: codeunit/5315
    page: codeunit/5315-se
    type: codeunit
    id: 5315
    name: Data Handling SIE
    app: SIE
    status: modified
  - key: pageextension/5314
    page: pageextension/5314-se
    type: pageextension
    id: 5314
    name: Audit Export Doc. Card SIE
    app: SIE
    status: modified
  - key: enum/5262
    page: enum/5262
    type: enum
    id: 5262
    name: Audit File Export Format
    app: AuditFileExport
    status: modified
  - key: interface/audit file export page visibility
    page: interface/audit-file-export-page-visibility
    type: interface
    id: null
    name: Audit File Export Page Visibility
    app: AuditFileExport
    status: added
  - key: codeunit/5311
    page: codeunit/5311
    type: codeunit
    id: 5311
    name: Audit File Page Visibility
    app: AuditFileExport
    status: added
  - key: page/5267
    page: page/5267
    type: page
    id: 5267
    name: Audit File Export Doc. Card
    app: AuditFileExport
    status: modified
  - key: codeunit/5281
    page: codeunit/5281
    type: codeunit
    id: 5281
    name: Audit Data Handling SAF-T
    app: SAF-T
    status: modified
  - key: enumextension/5280
    page: enumextension/5280
    type: enumextension
    id: 5280
    name: Audit File Export Format SAF-T
    app: SAF-T
    status: modified
  - key: pageextension/5283
    page: pageextension/5283
    type: pageextension
    id: 5283
    name: Audit Export Doc. Card SAF-T
    app: SAF-T
    status: modified
  - key: xmlport/10800
    page: xmlport/10800-fr
    type: xmlport
    id: 10800
    name: Export G/L Entries
    app: Base Application
    status: modified
  - key: report/10820
    page: report/10820-fr
    type: report
    id: 10820
    name: Export G/L Entries to XML
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/FR/BaseApp/Finance/RoleCenters/FinanceManagerRoleCenter.Page.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports:
  - number: 13079
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/13079
fixes_issues: []
work_items:
  - 610524
systems:
  - finance
quote: To make this capability available beyond FR and reusable across localizations, it needs to be delocalized onto the shared Audit File Export framework.
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #9104 Delocalize Export G/L Entries to XML into Audit File Export framework

> Export of G/L entries to XML is rebuilt on the shared Audit File Export framework as a new XML Audit File app (FR), with tests. A new page visibility interface on the Audit File Export Format enum lets each format control which fields and actions show on the Audit File Export Doc. Card.

[Pull request](https://github.com/microsoft/BCApps/pull/9104) · merged into `main` (BC30) on 2026-10-20 by ventselartur · 43 files (+1429 -112), 29 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- Created Audit File Export Page Visibility interface for formats to control field/action visibility
- Refactored FEC page extension to use visibility interface instead of hard-coded toggles
- Added new XML Audit File app that exports G/L entries to XML through the shared framework
- Included XmlPort, data handling, permission sets, setup pages, and test coverage
- Registered new app and test projects in build configuration files
- Behaviour changes for users or extensions.

## AL objects touched

- [Enum extension 10826 "Audit File Export Format FEC"](../../objects/enumextension/10826-fr.md), FECAuditFile (FR layer): modified
- [Page extension 10826 "Audit Export Doc. Card FEC"](../../objects/pageextension/10826-fr.md), FECAuditFile (FR layer): modified
- [Codeunit 10879 "Page Visibility FEC"](../../objects/codeunit/10879-fr.md), FECAuditFile (FR layer): added
- [Enum extension 10803 "Audit File Export Format XML"](../../objects/enumextension/10803-fr.md), XMLAuditFile (FR layer): added
- [Codeunit 10805 "Data Check XML"](../../objects/codeunit/10805-fr.md), XMLAuditFile (FR layer): added
- [Codeunit 10806 "Data Handling XML"](../../objects/codeunit/10806-fr.md), XMLAuditFile (FR layer): added
- [Page extension 10803 "Audit Export Doc. Card XML"](../../objects/pageextension/10803-fr.md), XMLAuditFile (FR layer): added
- [Table extension 10803 "Audit File Export Header XML"](../../objects/tableextension/10803-fr.md), XMLAuditFile (FR layer): added
- [Codeunit 10811 "Generate File XML"](../../objects/codeunit/10811-fr.md), XMLAuditFile (FR layer): added
- [XMLport 10803 "Export G/L Entries FR"](../../objects/xmlport/10803-fr.md), XMLAuditFile (FR layer): added
- [Codeunit 10813 "Page Visibility XML"](../../objects/codeunit/10813-fr.md), XMLAuditFile (FR layer): added
- [Permission set 10808 "XML Audit - Export"](../../objects/permissionset/10808-fr.md), XMLAuditFile (FR layer): added
- [Permission set 10807 "XML - Objects"](../../objects/permissionset/10807-fr.md), XMLAuditFile (FR layer): added
- [Page extension 10804 "Audit Export Format Setup XML"](../../objects/pageextension/10804-fr.md), XMLAuditFile (FR layer): added
- [Page extension 10805 "Audit File Export Setup XML"](../../objects/pageextension/10805-fr.md), XMLAuditFile (FR layer): added
- [Codeunit 10804 "Install XML"](../../objects/codeunit/10804-fr.md), XMLAuditFile (FR layer): added
- [Enum extension 5315 "Audit File Export Format SIE"](../../objects/enumextension/5315-se.md), SIE (SE layer): modified
- [Codeunit 5315 "Data Handling SIE"](../../objects/codeunit/5315-se.md), SIE (SE layer): modified
- [Page extension 5314 "Audit Export Doc. Card SIE"](../../objects/pageextension/5314-se.md), SIE (SE layer): modified
- [Enum 5262 "Audit File Export Format"](../../objects/enum/5262.md), AuditFileExport: modified
- [Interface "Audit File Export Page Visibility"](../../objects/interface/audit-file-export-page-visibility.md), AuditFileExport: added
- [Codeunit 5311 "Audit File Page Visibility"](../../objects/codeunit/5311.md), AuditFileExport: added
- [Page 5267 "Audit File Export Doc. Card"](../../objects/page/5267.md), AuditFileExport: modified
- [Codeunit 5281 "Audit Data Handling SAF-T"](../../objects/codeunit/5281.md), SAF-T: modified
- [Enum extension 5280 "Audit File Export Format SAF-T"](../../objects/enumextension/5280.md), SAF-T: modified
- [Page extension 5283 "Audit Export Doc. Card SAF-T"](../../objects/pageextension/5283.md), SAF-T: modified
- [XMLport 10800 "Export G/L Entries"](../../objects/xmlport/10800-fr.md), Base Application (FR layer): modified
- [Report 10820 "Export G/L Entries to XML"](../../objects/report/10820-fr.md), Base Application (FR layer): modified
- `src/Layers/FR/BaseApp/Finance/RoleCenters/FinanceManagerRoleCenter.Page.al`: modified, not in the BC30 snapshot

## Also merged into

- [#13079](https://github.com/microsoft/BCApps/pull/13079) into `releases/29.x` on 2026-10-22

## Context

- Work items: AB#610524
- Labels: AL: Apps (W1), Build: scripts & configs, Team: Finance
- Systems: finance
- From the description: "To make this capability available beyond FR and reusable across localizations, it needs to be delocalized onto the shared Audit File Export framework."

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Export data for auditing](https://learn.microsoft.com/dynamics365/business-central/finance-how-to-export-audit-files) — possibly related: Audit file export for GL entries in multiple formats including FEC and SAF-T frameworks (model-linked)
- [Export entries for tax audits](https://learn.microsoft.com/dynamics365/business-central/LocalFunctionality/France/export-french-audit-file) — possibly related: Export GL entries in FEC format for French tax audit compliance (model-linked)

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
