code change · featureCopilot & Agentsofficial - Microsoftreviewed - checked by Opus

#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 · 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

Also merged into

  • #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.”

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

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).