---
id: change/bcapps/11745
type: change
title: "#11745 Bug 648781: check the party identifier that the PEPPOL export will use"
summary: PEPPOL validation now uses the same party identifier provider as export to ensure EndpointID is never empty, fixing cases where validation passed but export created invalid documents.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit edoc peppol bis 3.0
  - codeunit e-doc. peppol validation
  - codeunit peppol30
  - codeunit peppol30 impl.
  - codeunit peppol30 sales validation impl
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:03:54.745Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: d3db445871ae038c72a6648c6778adc9f4d2fc34
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11745
    title: "microsoft/BCApps#11745: Bug 648781: check the party identifier that the PEPPOL export will use"
    date: "2026-09-25"
    commit: d3db445871ae038c72a6648c6778adc9f4d2fc34
    t: null
    quote: Validation now asks the same party info provider that export uses and just checks the answer is not empty.
links:
  learn: []
  objects:
    - object/codeunit/6165
    - object/codeunit/6172
    - object/codeunit/37200
    - object/codeunit/37201
    - object/codeunit/37203
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11745
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11745
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-25T15:53:28Z"
author: Explorer986
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Integrations"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 7
  additions: 543
  deletions: 19
  al: 5
apps:
  - EDocument
  - PEPPOL
objects_touched:
  - key: codeunit/6165
    page: codeunit/6165
    type: codeunit
    id: 6165
    name: EDoc PEPPOL BIS 3.0
    app: EDocument
    status: modified
  - key: codeunit/6172
    page: codeunit/6172
    type: codeunit
    id: 6172
    name: E-Doc. PEPPOL Validation
    app: EDocument
    status: modified
  - key: codeunit/37200
    page: codeunit/37200
    type: codeunit
    id: 37200
    name: PEPPOL30
    app: PEPPOL
    status: modified
  - key: codeunit/37201
    page: codeunit/37201
    type: codeunit
    id: 37201
    name: PEPPOL30 Impl.
    app: PEPPOL
    status: modified
  - key: codeunit/37203
    page: codeunit/37203
    type: codeunit
    id: 37203
    name: PEPPOL30 Sales Validation Impl
    app: PEPPOL
    status: modified
objects_unjoined: []
obsoletions: []
backports:
  - number: 12091
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/12091
fixes_issues: []
work_items:
  - 648781
systems:
  - development
  - integration
quote: Validation now asks the same party info provider that export uses and just checks the answer is not empty.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #11745 Bug 648781: check the party identifier that the PEPPOL export will use

> PEPPOL validation now uses the same party identifier provider as export to ensure EndpointID is never empty, fixing cases where validation passed but export created invalid documents.

[Pull request](https://github.com/microsoft/BCApps/pull/11745) · merged into `main` (BC30) on 2026-09-25 by Explorer986 · 7 files (+543 -19), 5 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Validation now asks the same party info provider that export uses and checks that the EndpointID is not empty
- The provider is read from PEPPOL 3.0 Setup instead of being hardcoded, so SE can plug in its own provider
- Releasing a purchase order is now validated because a Purchase Header branch was added
- Reminders and finance charge memos get the same EndpointID check
- Documents that would have exported an empty EndpointID now fail validation, with a message that names the setting to change
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 6165 "EDoc PEPPOL BIS 3.0"](../../objects/codeunit/6165.md), EDocument: modified
- [Codeunit 6172 "E-Doc. PEPPOL Validation"](../../objects/codeunit/6172.md), EDocument: modified
- [Codeunit 37200 "PEPPOL30"](../../objects/codeunit/37200.md), PEPPOL: modified
- [Codeunit 37201 "PEPPOL30 Impl."](../../objects/codeunit/37201.md), PEPPOL: modified
- [Codeunit 37203 "PEPPOL30 Sales Validation Impl"](../../objects/codeunit/37203.md), PEPPOL: modified

## Also merged into

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

## Context

- Work items: AB#648781
- Labels: AL: Apps (W1), Team: Integrations
- Systems: development, integration
- From the description: "Validation now asks the same party info provider that export uses and just checks the answer is not empty."

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