---
id: change/bcapps/14598
type: change
title: "#14598 [Expense Agent] Corporate card transactions as expense report lines"
summary: Corporate card transactions can now be added to expense reports before receipt information is known, and receipts can be matched, attached, and their extracted data applied to expenses and report lines through new APIs.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - table ea card expense match buffer
  - page ea card expense matches api
  - table ea card receipt data
  - page ea card receipt data api
  - table ea card receipt item
  - page ea card receipt items api
system: copilot
review:
  state: reviewed
  by: opus
  at: "2026-11-30T00:46:36.165Z"
  flags: []
generated:
  at: "2026-12-03T00:18:19.990Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 4d60d10920084a35a6231e5a0ffbd0577b0c399e
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/14598
    title: "microsoft/BCApps#14598: [Expense Agent] Corporate card transactions as expense report lines"
    date: "2026-11-29"
    commit: 4d60d10920084a35a6231e5a0ffbd0577b0c399e
    t: null
    quote: Importing a card statement already creates a card-sourced expense for each transaction that has no existing expense.
links:
  learn: []
  objects:
    - object/table/7420
    - object/page/7425
    - object/table/7427
    - object/page/7421
    - object/table/7433
    - object/page/7423
    - object/page/7422
    - object/table/7432
    - object/table/7434
    - object/page/7424
    - object/page/7451
    - object/page/6928
    - object/page/6918
    - object/page/6927
    - object/codeunit/7450
    - object/codeunit/7426
    - object/codeunit/7438
    - object/codeunit/6989
    - object/codeunit/6980
    - object/page/6988
    - object/table/6900
    - object/table/6918
    - object/codeunit/6983
    - object/page/6961
    - object/page/6999
    - object/table/6907
    - object/table/6922
    - object/permissionset/6953
    - object/permissionset/6952
    - object/permissionset/6904
    - object/permissionset/6906
    - object/permissionset/6907
    - object/codeunit/6950
    - 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-edit-expenses
      title: Review and Edit Expenses in Expense Agent
      label: possibly related
      why: Change implements corporate card transactions as expense report lines; page documents reviewing and managing expense details.
      by: model
number: 14598
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/14598
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-29T17:54:45Z"
author: claudiuciumedean
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - ExpenseManagement
  - "Team: Finance"
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 45
  additions: 7423
  deletions: 190
  al: 34
apps:
  - ExpenseAgent
objects_touched:
  - key: table/7420
    page: table/7420
    type: table
    id: 7420
    name: EA Card Expense Match Buffer
    app: ExpenseAgent
    status: added
  - key: page/7425
    page: page/7425
    type: page
    id: 7425
    name: EA Card Expense Matches API
    app: ExpenseAgent
    status: added
  - key: table/7427
    page: table/7427
    type: table
    id: 7427
    name: EA Card Receipt Data
    app: ExpenseAgent
    status: added
  - key: page/7421
    page: page/7421
    type: page
    id: 7421
    name: EA Card Receipt Data API
    app: ExpenseAgent
    status: added
  - key: table/7433
    page: table/7433
    type: table
    id: 7433
    name: EA Card Receipt Item
    app: ExpenseAgent
    status: added
  - key: page/7423
    page: page/7423
    type: page
    id: 7423
    name: EA Card Receipt Items API
    app: ExpenseAgent
    status: added
  - key: page/7422
    page: page/7422
    type: page
    id: 7422
    name: EA Card Receipt Particip. API
    app: ExpenseAgent
    status: added
  - key: table/7432
    page: table/7432
    type: table
    id: 7432
    name: EA Card Receipt Participant
    app: ExpenseAgent
    status: added
  - key: table/7434
    page: table/7434
    type: table
    id: 7434
    name: EA Card Receipt VAT Spec.
    app: ExpenseAgent
    status: added
  - key: page/7424
    page: page/7424
    type: page
    id: 7424
    name: EA Card Receipt VAT Spec. API
    app: ExpenseAgent
    status: added
  - key: page/7451
    page: page/7451
    type: page
    id: 7451
    name: Expense Corporate Cards API
    app: ExpenseAgent
    status: modified
  - key: page/6928
    page: page/6928
    type: page
    id: 6928
    name: Expense Reports API
    app: ExpenseAgent
    status: modified
  - key: page/6918
    page: page/6918
    type: page
    id: 6918
    name: Expense Users API
    app: ExpenseAgent
    status: modified
  - key: page/6927
    page: page/6927
    type: page
    id: 6927
    name: Expenses API
    app: ExpenseAgent
    status: modified
  - key: codeunit/7450
    page: codeunit/7450
    type: codeunit
    id: 7450
    name: EA Card Receipt Data Apply
    app: ExpenseAgent
    status: added
  - key: codeunit/7426
    page: codeunit/7426
    type: codeunit
    id: 7426
    name: EA Corp Card Enh. Match Mgt
    app: ExpenseAgent
    status: modified
  - key: codeunit/7438
    page: codeunit/7438
    type: codeunit
    id: 7438
    name: EA Receipt Expense Match
    app: ExpenseAgent
    status: added
  - key: codeunit/6989
    page: codeunit/6989
    type: codeunit
    id: 6989
    name: Expense Attachment Mgt.
    app: ExpenseAgent
    status: modified
  - key: codeunit/6980
    page: codeunit/6980
    type: codeunit
    id: 6980
    name: Release Expense Document
    app: ExpenseAgent
    status: modified
  - 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/6918
    page: table/6918
    type: table
    id: 6918
    name: Expense VAT Specification
    app: ExpenseAgent
    status: modified
  - key: codeunit/6983
    page: codeunit/6983
    type: codeunit
    id: 6983
    name: Create Expense Report
    app: ExpenseAgent
    status: modified
  - key: page/6961
    page: page/6961
    type: page
    id: 6961
    name: Expense Billing Information
    app: ExpenseAgent
    status: modified
  - key: page/6999
    page: page/6999
    type: page
    id: 6999
    name: Expense Report SubPage
    app: ExpenseAgent
    status: modified
  - key: table/6907
    page: table/6907
    type: table
    id: 6907
    name: Expense Report Line
    app: ExpenseAgent
    status: modified
  - key: table/6922
    page: table/6922
    type: table
    id: 6922
    name: Expense Report Line VAT Spec.
    app: ExpenseAgent
    status: modified
  - key: permissionset/6953
    page: permissionset/6953
    type: permissionset
    id: 6953
    name: Expense Agent - Data
    app: ExpenseAgent
    status: modified
  - key: permissionset/6952
    page: permissionset/6952
    type: permissionset
    id: 6952
    name: Expense Agent - Objects
    app: ExpenseAgent
    status: modified
  - key: permissionset/6904
    page: permissionset/6904
    type: permissionset
    id: 6904
    name: Expense Management - Objects
    app: ExpenseAgent
    status: modified
  - key: permissionset/6906
    page: permissionset/6906
    type: permissionset
    id: 6906
    name: Expense Mgmt. Edit
    app: ExpenseAgent
    status: modified
  - key: permissionset/6907
    page: permissionset/6907
    type: permissionset
    id: 6907
    name: Expense Mgmt. Read
    app: ExpenseAgent
    status: modified
  - key: codeunit/6950
    page: codeunit/6950
    type: codeunit
    id: 6950
    name: Expense Agent Privacy Subs.
    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:
  - number: 14704
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/14704
fixes_issues: []
work_items:
  - 630366
systems:
  - copilot
quote: Importing a card statement already creates a card-sourced expense for each transaction that has no existing expense.
joined_against:
  major: "30"
  commit: 4d60d10920084a35a6231e5a0ffbd0577b0c399e
---

# #14598 [Expense Agent] Corporate card transactions as expense report lines

> Corporate card transactions can now be added to expense reports before receipt information is known, and receipts can be matched, attached, and their extracted data applied to expenses and report lines through new APIs.

[Pull request](https://github.com/microsoft/BCApps/pull/14598) · merged into `main` (BC30) on 2026-11-29 by claudiuciumedean · 45 files (+7423 -190), 34 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- The Card Expense Matches API finds a card expense waiting for a receipt, or checks a given one. It matches on user, currency, exact amount, a date window, card last 4 digits or merchant similarity, and writes nothing.
- The new addCardExpenseToReport action releases a card expense and adds it to an open report without needing a category. The standard add and release still require one.
- The Card Receipt Data API stages the receipt file and its extracted values, with participants, items and VAT. Apply then attaches the receipt and fills only empty fields, keeping the expense status.
- Amount, currency, date, card and payment method are locked on card expenses and their report lines. A blank merchant can be filled once.
- Corporate cards are now only available nested under expenseUsers; top-level corporateCards requests return 400. A new cardExpenseAwaitingReport FlowField is exposed on expenses.
- Behaviour changes for users or extensions.

## AL objects touched

- [Table 7420 "EA Card Expense Match Buffer"](../../objects/table/7420.md), ExpenseAgent: added
- [Page 7425 "EA Card Expense Matches API"](../../objects/page/7425.md), ExpenseAgent: added
- [Table 7427 "EA Card Receipt Data"](../../objects/table/7427.md), ExpenseAgent: added
- [Page 7421 "EA Card Receipt Data API"](../../objects/page/7421.md), ExpenseAgent: added
- [Table 7433 "EA Card Receipt Item"](../../objects/table/7433.md), ExpenseAgent: added
- [Page 7423 "EA Card Receipt Items API"](../../objects/page/7423.md), ExpenseAgent: added
- [Page 7422 "EA Card Receipt Particip. API"](../../objects/page/7422.md), ExpenseAgent: added
- [Table 7432 "EA Card Receipt Participant"](../../objects/table/7432.md), ExpenseAgent: added
- [Table 7434 "EA Card Receipt VAT Spec."](../../objects/table/7434.md), ExpenseAgent: added
- [Page 7424 "EA Card Receipt VAT Spec. API"](../../objects/page/7424.md), ExpenseAgent: added
- [Page 7451 "Expense Corporate Cards API"](../../objects/page/7451.md), ExpenseAgent: modified
- [Page 6928 "Expense Reports API"](../../objects/page/6928.md), ExpenseAgent: modified
- [Page 6918 "Expense Users API"](../../objects/page/6918.md), ExpenseAgent: modified
- [Page 6927 "Expenses API"](../../objects/page/6927.md), ExpenseAgent: modified
- [Codeunit 7450 "EA Card Receipt Data Apply"](../../objects/codeunit/7450.md), ExpenseAgent: added
- [Codeunit 7426 "EA Corp Card Enh. Match Mgt"](../../objects/codeunit/7426.md), ExpenseAgent: modified
- [Codeunit 7438 "EA Receipt Expense Match"](../../objects/codeunit/7438.md), ExpenseAgent: added
- [Codeunit 6989 "Expense Attachment Mgt."](../../objects/codeunit/6989.md), ExpenseAgent: modified
- [Codeunit 6980 "Release Expense Document"](../../objects/codeunit/6980.md), ExpenseAgent: modified
- [Page 6988 "Expense"](../../objects/page/6988.md), ExpenseAgent: modified
- [Table 6900 "Expense"](../../objects/table/6900.md), ExpenseAgent: modified
- [Table 6918 "Expense VAT Specification"](../../objects/table/6918.md), ExpenseAgent: modified
- [Codeunit 6983 "Create Expense Report"](../../objects/codeunit/6983.md), ExpenseAgent: modified
- [Page 6961 "Expense Billing Information"](../../objects/page/6961.md), ExpenseAgent: modified
- [Page 6999 "Expense Report SubPage"](../../objects/page/6999.md), ExpenseAgent: modified
- [Table 6907 "Expense Report Line"](../../objects/table/6907.md), ExpenseAgent: modified
- [Table 6922 "Expense Report Line VAT Spec."](../../objects/table/6922.md), ExpenseAgent: modified
- [Permission set 6953 "Expense Agent - Data"](../../objects/permissionset/6953.md), ExpenseAgent: modified
- [Permission set 6952 "Expense Agent - Objects"](../../objects/permissionset/6952.md), ExpenseAgent: modified
- [Permission set 6904 "Expense Management - Objects"](../../objects/permissionset/6904.md), ExpenseAgent: modified
- [Permission set 6906 "Expense Mgmt. Edit"](../../objects/permissionset/6906.md), ExpenseAgent: modified
- [Permission set 6907 "Expense Mgmt. Read"](../../objects/permissionset/6907.md), ExpenseAgent: modified
- [Codeunit 6950 "Expense Agent Privacy Subs."](../../objects/codeunit/6950.md), ExpenseAgent: modified
- [Codeunit 6902 "Expense Rule Validation"](../../objects/codeunit/6902.md), ExpenseAgent: modified

## Also merged into

- [#14704](https://github.com/microsoft/BCApps/pull/14704) into `releases/29.x` on 2026-12-02

## Context

- Work items: AB#630366
- Labels: AL: Apps (W1), ExpenseManagement, Team: Finance
- Systems: copilot
- From the description: "Importing a card statement already creates a card-sourced expense for each transaction that has no existing expense."

## 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"
- [Review and Edit Expenses in Expense Agent](https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-agent-edit-expenses) — possibly related: Change implements corporate card transactions as expense report lines; page documents reviewing and managing expense details. (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).
