---
id: change/bcapps/12472
type: change
title: "#12472 Expense Agent Default VAT Setup fails in localized companies"
summary: Expense Agent Default VAT Setup is corrected to work properly in localized companies.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - table expense agent setup
system: copilot
review:
  state: reviewed
  by: opus
  at: "2026-10-16T01:17:27.342Z"
  flags: []
generated:
  at: "2026-11-25T00:13:20.045Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 4a9575830bf5679678fca4749470bcee149f09e2
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12472
    title: "microsoft/BCApps#12472: Expense Agent Default VAT Setup fails in localized companies"
    date: "2026-10-12"
    commit: 4a9575830bf5679678fca4749470bcee149f09e2
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/table/6930
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-agent-configuration-page
      title: Set Up Expense Agent in Business Central
      label: possibly related
      why: Documents Expense Agent setup and configuration, directly related to Expense Agent Setup table fix.
      by: model
    - to: https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-management-setup
      title: Set Up Expense Management in Business Central
      label: possibly related
      why: Documents Expense Agent VAT setup and accounting defaults in Business Central.
      by: model
number: 12472
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12472
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-12T16:01:22Z"
author: Alexander-Ya
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 106
  deletions: 4
  al: 1
apps:
  - ExpenseAgent
objects_touched:
  - key: table/6930
    page: table/6930
    type: table
    id: 6930
    name: Expense Agent Setup
    app: ExpenseAgent
    status: modified
objects_unjoined: []
obsoletions: []
backports:
  - number: 12699
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/12699
fixes_issues: []
work_items:
  - 652572
systems:
  - copilot
quote: null
joined_against:
  major: "30"
  commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
---

# #12472 Expense Agent Default VAT Setup fails in localized companies

> Expense Agent Default VAT Setup is corrected to work properly in localized companies.

[Pull request](https://github.com/microsoft/BCApps/pull/12472) · merged into `main` (BC30) on 2026-10-12 by Alexander-Ya · 2 files (+106 -4), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Fixes VAT setup initialization for Expense Agent in localized environments
- Updates Expense Agent Setup table with proper configuration logic
- Test coverage added to validate correct behavior across localizations
- Behaviour changes for users or extensions.

## AL objects touched

- [Table 6930 "Expense Agent Setup"](../../objects/table/6930.md), ExpenseAgent: modified

## Also merged into

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

## Context

- Work items: AB#652572
- Labels: AL: Apps (W1), Team: Finance
- Systems: copilot

## Possibly related

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

- [Set Up Expense Agent in Business Central](https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-agent-configuration-page) — possibly related: Documents Expense Agent setup and configuration, directly related to Expense Agent Setup table fix. (model-linked)
- [Set Up Expense Management in Business Central](https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-management-setup) — possibly related: Documents Expense Agent VAT setup and accounting defaults in Business Central. (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).
