---
id: change/bcapps/9690
type: change
title: "#9690 Add XRechnung structured format reader for inbound e-documents"
summary: Adds a structured format reader for German XRechnung e-documents that parses inbound XML directly into E-Document Purchase draft tables without requiring Data Exchange field mappings.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit e-document xrechnung handler
  - enumextension xrechnung edoc read into draft
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:11:16.021Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 4ed1dba354d6c9847f05a7a4d3f4391adb678845
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9690
    title: "microsoft/BCApps#9690: Add XRechnung structured format reader for inbound e-documents"
    date: "2026-07-28"
    commit: 4ed1dba354d6c9847f05a7a4d3f4391adb678845
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/11039-de
    - object/enumextension/13917-de
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9690
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9690
kind: pr
base_branch: main
major: "30"
merged_at: "2026-07-28T08:46:05Z"
author: Groenbech96
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: 939
  deletions: 1
  al: 2
apps:
  - EDocumentDE
objects_touched:
  - key: codeunit/11039
    page: codeunit/11039-de
    type: codeunit
    id: 11039
    name: E-Document XRechnung Handler
    app: EDocumentDE
    status: added
  - key: enumextension/13917
    page: enumextension/13917-de
    type: enumextension
    id: 13917
    name: XRechnung EDoc Read into Draft
    app: EDocumentDE
    status: added
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 580191
systems:
  - integration
quote: null
joined_against:
  major: "30"
  commit: a4406cfa9e57437fedc49c53c327a199a854491e
---

# #9690 Add XRechnung structured format reader for inbound e-documents

> Adds a structured format reader for German XRechnung e-documents that parses inbound XML directly into E-Document Purchase draft tables without requiring Data Exchange field mappings.

[Pull request](https://github.com/microsoft/BCApps/pull/9690) · merged into `main` (BC30) on 2026-07-28 by Groenbech96 · 7 files (+939 -1), 2 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- Implements IStructuredFormatReader interface for XRechnung format
- Reads UBL Invoice and CreditNote documents into E-Document Purchase header and lines
- Includes comprehensive tests and sample XRechnung XML test resource
- Binds handler to E-Doc. Read into Draft enum for automatic routing
- Supports German localization for e-document processing
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 11039 "E-Document XRechnung Handler"](../../objects/codeunit/11039-de.md), EDocumentDE (DE layer): added
- [Enum extension 13917 "XRechnung EDoc Read into Draft"](../../objects/enumextension/13917-de.md), EDocumentDE (DE layer): added

## Context

- Work items: AB#580191
- Labels: AL: Apps (W1), Team: Integrations
- 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).
