---
id: change/bcapps/13303
type: change
title: "#13303 [Bank. Acc. Reconciliation with Copilot] Implement ability to switch LLM with a simple configuration change"
summary: Bank Account Reconciliation with Copilot now supports switching between different LLM models through Key Vault configuration without code changes, and improves parser robustness to handle variations in model output formatting.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit bank acc. rec. trans. to acc.
  - codeunit bank rec. ai matching impl.
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-31T01:04:09.038Z"
  flags: []
generated:
  at: "2026-11-01T00:17:21.384Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: a98059a42a71fb72e54b669adb2e2a53906191ca
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/13303
    title: "microsoft/BCApps#13303: [Bank. Acc. Reconciliation with Copilot] Implement ability to switch LLM with a simple configuration change"
    date: "2026-10-30"
    commit: a98059a42a71fb72e54b669adb2e2a53906191ca
    t: null
    quote: Makes the model switchable through Key Vault, so we can move to GPT-5.6 Ceres once it passes DSB review without shipping code.
links:
  learn: []
  objects:
    - object/codeunit/7251
    - object/codeunit/7250
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/faqs-bank-reconciliation
      title: FAQ for bank account reconciliation assist with Copilot (preview)
      label: possibly related
      why: Documents bank reconciliation with AI/Copilot assistance, which the codeunits implement.
      by: model
number: 13303
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/13303
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-30T09:30:49Z"
author: dcenic
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: 3
  additions: 181
  deletions: 71
  al: 2
apps:
  - BankAccRecWithAI
objects_touched:
  - key: codeunit/7251
    page: codeunit/7251
    type: codeunit
    id: 7251
    name: Bank Acc. Rec. Trans. to Acc.
    app: BankAccRecWithAI
    status: modified
  - key: codeunit/7250
    page: codeunit/7250
    type: codeunit
    id: 7250
    name: Bank Rec. AI Matching Impl.
    app: BankAccRecWithAI
    status: modified
objects_unjoined: []
obsoletions: []
backports:
  - number: 13436
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/13436
fixes_issues: []
work_items:
  - 656867
systems:
  - finance
quote: Makes the model switchable through Key Vault, so we can move to GPT-5.6 Ceres once it passes DSB review without shipping code.
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #13303 [Bank. Acc. Reconciliation with Copilot] Implement ability to switch LLM with a simple configuration change

> Bank Account Reconciliation with Copilot now supports switching between different LLM models through Key Vault configuration without code changes, and improves parser robustness to handle variations in model output formatting.

[Pull request](https://github.com/microsoft/BCApps/pull/13303) · merged into `main` (BC30) on 2026-10-30 by dcenic · 3 files (+181 -71), 2 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- New GetChatCompletionsDeployment() method reads Key Vault secret to select between GPT-5.6 Ceres or GPT-4.1 models
- Deployment name added as custom dimension to telemetry events for audit and incident tracking
- Parser logic strengthened to handle formatting variations like spacing differences and bracketed text across both statement matching and transfer-to-G/L-account features
- Default behavior unchanged when Key Vault secret is missing or blank
- Both matching and G/L account proposal parsers now share common helper methods for consistent handling
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 7251 "Bank Acc. Rec. Trans. to Acc."](../../objects/codeunit/7251.md), BankAccRecWithAI: modified
- [Codeunit 7250 "Bank Rec. AI Matching Impl."](../../objects/codeunit/7250.md), BankAccRecWithAI: modified

## Also merged into

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

## Context

- Work items: AB#656867
- Labels: AL: Apps (W1), Team: Finance
- Systems: finance
- From the description: "Makes the model switchable through Key Vault, so we can move to GPT-5.6 Ceres once it passes DSB review without shipping code."

## Possibly related

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

- [FAQ for bank account reconciliation assist with Copilot (preview)](https://learn.microsoft.com/dynamics365/business-central/faqs-bank-reconciliation) — possibly related: Documents bank reconciliation with AI/Copilot assistance, which the codeunits implement. (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).
