---
id: change/bcapps/12599
type: change
title: "#12599 [Master] - Slice 629913: [Expense Agent][VENDOR] Enforced background itemization required for approvals"
summary: Expense Agent now requires itemization when an enabled Expense Policy with policy text applies to the expense category, regardless of the Expense Detail Required setting. Policy-enforced itemizations can skip subcategories, and the non-refundable amount becomes editable for such itemizations.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - page expense
  - table expense
  - table expense itemization
  - page expense report subpage
  - page posted expense report subp.
  - table expense report line
system: copilot
review:
  state: reviewed
  by: opus
  at: "2026-10-22T01:10:52.904Z"
  flags: []
generated:
  at: "2026-11-10T00:14:28.203Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: ca52a4dab5486f7408867c7a06655bbc6af7e827
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12599
    title: "microsoft/BCApps#12599: [Master] - Slice 629913: [Expense Agent][VENDOR] Enforced background itemization required for approvals"
    date: "2026-10-21"
    commit: ca52a4dab5486f7408867c7a06655bbc6af7e827
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/page/6988
    - object/table/6900
    - object/table/6902
    - object/page/6999
    - object/page/6993
    - object/table/6907
    - object/table/6911
    - object/table/6916
    - object/table/6921
    - object/codeunit/6912
    - object/codeunit/6902
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-management-create-expenses
      title: Create and Manage Expenses in Business Central
      label: possibly related
      why: touches Page 6988 "Expense"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-management-mileage-rate-setup
      title: Set Up Mileage Rates for Expense Management
      label: possibly related
      why: touches Page 6988 "Expense"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-agent
      title: Expense Agent Overview in Business Central
      label: possibly related
      why: Documents Expense Agent automating expense lifecycle including categorization, itemization, and approval workflows.
      by: model
    - to: https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-management-approve-reports
      title: Review and Approve Expense Reports
      label: possibly related
      why: Documents reviewing and approving expense reports with compliance rule validation before posting.
      by: model
number: 12599
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12599
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-21T17:13:14Z"
author: v-rohangarg20
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Finance"
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 13
  additions: 957
  deletions: 80
  al: 11
apps:
  - ExpenseAgent
objects_touched:
  - key: page/6988
    page: page/6988
    type: page
    id: 6988
    name: Expense
    app: ExpenseAgent
    status: modified
  - key: table/6900
    page: table/6900
    type: table
    id: 6900
    name: Expense
    app: ExpenseAgent
    status: modified
  - key: table/6902
    page: table/6902
    type: table
    id: 6902
    name: Expense Itemization
    app: ExpenseAgent
    status: modified
  - key: page/6999
    page: page/6999
    type: page
    id: 6999
    name: Expense Report SubPage
    app: ExpenseAgent
    status: modified
  - key: page/6993
    page: page/6993
    type: page
    id: 6993
    name: Posted Expense Report SubP.
    app: ExpenseAgent
    status: modified
  - key: table/6907
    page: table/6907
    type: table
    id: 6907
    name: Expense Report Line
    app: ExpenseAgent
    status: modified
  - key: table/6911
    page: table/6911
    type: table
    id: 6911
    name: Expense Report Line Item
    app: ExpenseAgent
    status: modified
  - key: table/6916
    page: table/6916
    type: table
    id: 6916
    name: Posted Expense Report Line
    app: ExpenseAgent
    status: modified
  - key: table/6921
    page: table/6921
    type: table
    id: 6921
    name: Expense Category
    app: ExpenseAgent
    status: modified
  - key: codeunit/6912
    page: codeunit/6912
    type: codeunit
    id: 6912
    name: Expense Auto Population
    app: ExpenseAgent
    status: modified
  - key: codeunit/6902
    page: codeunit/6902
    type: codeunit
    id: 6902
    name: Expense Rule Validation
    app: ExpenseAgent
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 629913
  - 651059
systems:
  - copilot
quote: null
joined_against:
  major: "30"
  commit: eb2bfe5258a473c969a6b85cdc98ce8524408706
---

# #12599 [Master] - Slice 629913: [Expense Agent][VENDOR] Enforced background itemization required for approvals

> Expense Agent now requires itemization when an enabled Expense Policy with policy text applies to the expense category, regardless of the Expense Detail Required setting. Policy-enforced itemizations can skip subcategories, and the non-refundable amount becomes editable for such itemizations.

[Pull request](https://github.com/microsoft/BCApps/pull/12599) · merged into `main` (BC30) on 2026-10-21 by v-rohangarg20 · 13 files (+957 -80), 11 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- Policy-enforced itemization is required when an enabled policy with text applies to an expense category, independent of Expense Detail Required
- Policy-enforced itemizations allow blank subcategories, while regular itemizations require them
- Policy-enforced itemizations are preserved through auto-population and rule validation
- Non-refundable amounts can be edited for policy-enforced itemizations but remain read-only for ordinary itemizations
- Comprehensive test coverage added for all Expense Detail Required values and policy scenarios
- Behaviour changes for users or extensions.

## AL objects touched

- [Page 6988 "Expense"](../../objects/page/6988.md), ExpenseAgent: modified
- [Table 6900 "Expense"](../../objects/table/6900.md), ExpenseAgent: modified
- [Table 6902 "Expense Itemization"](../../objects/table/6902.md), ExpenseAgent: modified
- [Page 6999 "Expense Report SubPage"](../../objects/page/6999.md), ExpenseAgent: modified
- [Page 6993 "Posted Expense Report SubP."](../../objects/page/6993.md), ExpenseAgent: modified
- [Table 6907 "Expense Report Line"](../../objects/table/6907.md), ExpenseAgent: modified
- [Table 6911 "Expense Report Line Item"](../../objects/table/6911.md), ExpenseAgent: modified
- [Table 6916 "Posted Expense Report Line"](../../objects/table/6916.md), ExpenseAgent: modified
- [Table 6921 "Expense Category"](../../objects/table/6921.md), ExpenseAgent: modified
- [Codeunit 6912 "Expense Auto Population"](../../objects/codeunit/6912.md), ExpenseAgent: modified
- [Codeunit 6902 "Expense Rule Validation"](../../objects/codeunit/6902.md), ExpenseAgent: modified

## Context

- Work items: AB#629913, AB#651059
- 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.

- [Create and Manage Expenses in Business Central](https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-management-create-expenses) — possibly related: touches Page 6988 "Expense"
- [Set Up Mileage Rates for Expense Management](https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-management-mileage-rate-setup) — possibly related: touches Page 6988 "Expense"
- [Expense Agent Overview in Business Central](https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-agent) — possibly related: Documents Expense Agent automating expense lifecycle including categorization, itemization, and approval workflows. (model-linked)
- [Review and Approve Expense Reports](https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-management-approve-reports) — possibly related: Documents reviewing and approving expense reports with compliance rule validation before posting. (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).
