---
id: change/bcapps/12055
type: change
title: "#12055 [E-Documents Core] Show error for unmatched inbound Order Response"
summary: Unmatched inbound PEPPOL Order Responses now produce a descriptive error and remain visible in the E-Document list instead of being silently deleted.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit e-document peppol handler
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:02:16.417Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: b508209e1a382ff442093c8c0d23703369b294f9
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12055
    title: "microsoft/BCApps#12055: [E-Documents Core] Show error for unmatched inbound Order Response"
    date: "2026-10-05"
    commit: b508209e1a382ff442093c8c0d23703369b294f9
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/6173
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 12055
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12055
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-05T19:17:24Z"
author: GediminasGaubys
author_type: User
community_contribution: true
labels:
  - "ADO: Sync"
  - "AL: Apps (W1)"
  - From Fork
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 3
  additions: 48
  deletions: 4
  al: 1
apps:
  - EDocument
objects_touched:
  - key: codeunit/6173
    page: codeunit/6173
    type: codeunit
    id: 6173
    name: E-Document PEPPOL Handler
    app: EDocument
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 648725
systems:
  - integration
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #12055 [E-Documents Core] Show error for unmatched inbound Order Response

> Unmatched inbound PEPPOL Order Responses now produce a descriptive error and remain visible in the E-Document list instead of being silently deleted.

[Pull request](https://github.com/microsoft/BCApps/pull/12055) · merged into `main` (BC30) on 2026-10-05 by GediminasGaubys (community contribution) · 3 files (+48 -4), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Inbound E-Documents with unmatched order references are retained with Error status instead of being deleted
- Users receive a clear error message indicating which order reference could not be found
- Error is logged in the import pipeline for better visibility and troubleshooting
- Matched Order Responses continue to work as before
- New test case covers the unmatched scenario with a sample XML file
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 6173 "E-Document PEPPOL Handler"](../../objects/codeunit/6173.md), EDocument: modified

## Context

- Work items: AB#648725
- Labels: ADO: Sync, AL: Apps (W1), From Fork
- Systems: integration

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