---
id: change/bcapps/11168
type: change
title: "#11168 Restore E-Document vendor invoice field compatibility"
summary: E-Document vendor invoice field name restored from 'Applies-to Ext. Invoice No.' to 'Vendor Invoice No.' across handlers, tests, and documentation to maintain upgrade and extension compatibility.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit e-document zugferd handler
  - codeunit e-document oioubl handler
  - codeunit e-doc. create purch. cr. memo
  - page e-doc. readable purchase doc.
  - table e-document purchase header
  - codeunit e-document peppol handler
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:06:00.681Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: ca36c0386e0a1d8f1e91dc1ffa59924380837d56
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11168
    title: "microsoft/BCApps#11168: Restore E-Document vendor invoice field compatibility"
    date: "2026-09-09"
    commit: ca36c0386e0a1d8f1e91dc1ffa59924380837d56
    t: null
    quote: Restores field 40 and W1 E-Document processing to use `Vendor Invoice No.`
links:
  learn: []
  objects:
    - object/codeunit/11041-de
    - object/codeunit/13913-dk
    - object/codeunit/6404
    - object/page/6182
    - object/table/6100
    - object/codeunit/6173
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11168
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11168
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-09T11:54:25Z"
author: djukicmilica
author_type: User
community_contribution: true
labels:
  - "ADO: Sync"
  - "AL: Apps (W1)"
  - From Fork
  - "Ownership: Needs Review"
  - "Team: Other"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 15
  additions: 25
  deletions: 21
  al: 6
apps:
  - EDocument
  - EDocumentDE
  - EDocumentFormatOIOUBL
objects_touched:
  - key: codeunit/11041
    page: codeunit/11041-de
    type: codeunit
    id: 11041
    name: E-Document ZUGFeRD Handler
    app: EDocumentDE
    status: modified
  - key: codeunit/13913
    page: codeunit/13913-dk
    type: codeunit
    id: 13913
    name: E-Document OIOUBL Handler
    app: EDocumentFormatOIOUBL
    status: modified
  - key: codeunit/6404
    page: codeunit/6404
    type: codeunit
    id: 6404
    name: E-Doc. Create Purch. Cr. Memo
    app: EDocument
    status: modified
  - key: page/6182
    page: page/6182
    type: page
    id: 6182
    name: E-Doc. Readable Purchase Doc.
    app: EDocument
    status: modified
  - key: table/6100
    page: table/6100
    type: table
    id: 6100
    name: E-Document Purchase Header
    app: EDocument
    status: modified
  - 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:
  - 649189
systems:
  - integration
quote: Restores field 40 and W1 E-Document processing to use `Vendor Invoice No.`
joined_against:
  major: "30"
  commit: a4406cfa9e57437fedc49c53c327a199a854491e
---

# #11168 Restore E-Document vendor invoice field compatibility

> E-Document vendor invoice field name restored from 'Applies-to Ext. Invoice No.' to 'Vendor Invoice No.' across handlers, tests, and documentation to maintain upgrade and extension compatibility.

[Pull request](https://github.com/microsoft/BCApps/pull/11168) · merged into `main` (BC30) on 2026-09-09 by djukicmilica (community contribution) · 15 files (+25 -21), 6 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Field 40 in E-Document Purchase Header renamed back to 'Vendor Invoice No.' for compatibility
- All APAC, DE, DK, ES, and FR handlers updated to use the restored field name
- Test cases and documentation aligned with the field name change
- Ensures existing extensions and translations continue to work
- Resolves upgrade compatibility issues introduced by the previous rename
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 11041 "E-Document ZUGFeRD Handler"](../../objects/codeunit/11041-de.md), EDocumentDE (DE layer): modified
- [Codeunit 13913 "E-Document OIOUBL Handler"](../../objects/codeunit/13913-dk.md), EDocumentFormatOIOUBL (DK layer): modified
- [Codeunit 6404 "E-Doc. Create Purch. Cr. Memo"](../../objects/codeunit/6404.md), EDocument: modified
- [Page 6182 "E-Doc. Readable Purchase Doc."](../../objects/page/6182.md), EDocument: modified
- [Table 6100 "E-Document Purchase Header"](../../objects/table/6100.md), EDocument: modified
- [Codeunit 6173 "E-Document PEPPOL Handler"](../../objects/codeunit/6173.md), EDocument: modified

## Context

- Work items: AB#649189
- Labels: ADO: Sync, AL: Apps (W1), From Fork, Ownership: Needs Review, Team: Other
- Systems: integration
- From the description: "Restores field 40 and W1 E-Document processing to use `Vendor Invoice No.`"

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