---
id: change/bcapps/10526
type: change
title: "#10526 Use BaseApp's new PO Matching module in E-Documents"
summary: E-Documents now leverages BaseApp's new PO Matching module to support one-to-many matching and receiving at invoice for two-way matches, with additional warnings for amount mismatches and expanded matching fields.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit e-doc. create purchase invoice
  - page e-doc. purchase draft subform
  - enum e-doc po match warning
  - codeunit e-doc. po matching
  - page e-doc. select po lines
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:07:03.881Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: ee0f5acb9e892c7f521af6dc120b070291567a68
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10526
    title: "microsoft/BCApps#10526: Use BaseApp's new PO Matching module in E-Documents"
    date: "2026-08-28"
    commit: ee0f5acb9e892c7f521af6dc120b070291567a68
    t: null
    quote: Uptakes the new API surface for BaseApp's PO Matching module at E-Document creation.
links:
  learn: []
  objects:
    - object/codeunit/6117
    - object/page/6183
    - object/enum/6111
    - object/codeunit/6196
    - object/page/6116
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10526
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10526
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-28T18:52:07Z"
author: mynjj
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Integrations"
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 7
  additions: 935
  deletions: 410
  al: 5
apps:
  - EDocument
objects_touched:
  - key: codeunit/6117
    page: codeunit/6117
    type: codeunit
    id: 6117
    name: E-Doc. Create Purchase Invoice
    app: EDocument
    status: modified
  - key: page/6183
    page: page/6183
    type: page
    id: 6183
    name: E-Doc. Purchase Draft Subform
    app: EDocument
    status: modified
  - key: enum/6111
    page: enum/6111
    type: enum
    id: 6111
    name: E-Doc PO Match Warning
    app: EDocument
    status: modified
  - key: codeunit/6196
    page: codeunit/6196
    type: codeunit
    id: 6196
    name: E-Doc. PO Matching
    app: EDocument
    status: modified
  - key: page/6116
    page: page/6116
    type: page
    id: 6116
    name: E-Doc. Select PO Lines
    app: EDocument
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 625392
systems:
  - integration
quote: Uptakes the new API surface for BaseApp's PO Matching module at E-Document creation.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #10526 Use BaseApp's new PO Matching module in E-Documents

> E-Documents now leverages BaseApp's new PO Matching module to support one-to-many matching and receiving at invoice for two-way matches, with additional warnings for amount mismatches and expanded matching fields.

[Pull request](https://github.com/microsoft/BCApps/pull/10526) · merged into `main` (BC30) on 2026-08-28 by mynjj · 7 files (+935 -410), 5 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- Integrates BaseApp's new PO Matching API surface into E-Document creation workflow
- Enables one-to-many purchase order line matching against invoices
- Supports receiving at invoice time for two-way matches
- Adds warning notifications when invoice amounts don't match purchase orders
- Expands page fields to show more matching information for Payables Agent decisions
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 6117 "E-Doc. Create Purchase Invoice"](../../objects/codeunit/6117.md), EDocument: modified
- [Page 6183 "E-Doc. Purchase Draft Subform"](../../objects/page/6183.md), EDocument: modified
- [Enum 6111 "E-Doc PO Match Warning"](../../objects/enum/6111.md), EDocument: modified
- [Codeunit 6196 "E-Doc. PO Matching"](../../objects/codeunit/6196.md), EDocument: modified
- [Page 6116 "E-Doc. Select PO Lines"](../../objects/page/6116.md), EDocument: modified

## Context

- Work items: AB#625392
- Labels: AL: Apps (W1), Team: Integrations
- Systems: integration
- From the description: "Uptakes the new API surface for BaseApp's PO Matching module at E-Document creation."

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