---
id: object/codeunit/13921-de
type: object
title: Codeunit 13921 "EDoc PEPPOL Validation DE" (DE)
summary: Codeunit 13921 "EDoc PEPPOL Validation DE" (DE) in the DE country layer (Microsoft.eServices.EDocument.IO.Peppol). 1 public procedures, 3 event subscribers. Introduced in BC29, still in BC30. Obsolete (Pending since 29.0).
tier: official
language: en
tags:
  - codeunit
  - de layer
versions:
  introduced: "29"
  last_changed: null
  deprecated: "29.0"
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: ed833ebc79f677eb2f7a0fb699d5fac2b29b97adbde012d7219dcf90ef3eebb8
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/DE/EDocumentDE/app/src/PEPPOL/EDocPEPPOLValidationDE.Codeunit.al
    title: src/Apps/DE/EDocumentDE/app/src/PEPPOL/EDocPEPPOLValidationDE.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/de
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 13921
name: EDoc PEPPOL Validation DE
namespace: Microsoft.eServices.EDocument.IO.Peppol
app: EDocumentDE
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete:
  state: Pending
  tag: "29.0"
  reason: Replaced by interface-based DE PEPPOL implementations in the PEPPOL DE app ("PEPPOL30 DE Sales Validation" implements "PEPPOL30 Validation"). EDocumentDE now pushes the skip-Customer-VAT/GLN-check flag (computed from "E-Document DE Helper".HasRoutingNo) to "PEPPOL30 DE Context" so the new validation...
countries: []
ms_search_form_ids: []
country: DE
counts:
  fields: 0
  procedures: 4
  events: 0
  subscribers: 3
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 13921 "EDoc PEPPOL Validation DE" (DE)

> Codeunit 13921 "EDoc PEPPOL Validation DE" (DE) in the DE country layer (Microsoft.eServices.EDocument.IO.Peppol). 1 public procedures, 3 event subscribers. Introduced in BC29, still in BC30. Obsolete (Pending since 29.0).

DE country layer · Microsoft.eServices.EDocument.IO.Peppol · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/DE/EDocumentDE/app/src/PEPPOL/EDocPEPPOLValidationDE.Codeunit.al) · facts from BC29

An object of the [DE localization](../../localizations/de.md), not part of W1.

## Properties

| Property | Value |
|---|---|
| ObsoleteState | Pending |
| ObsoleteTag | 29.0 |
| ObsoleteReason | Replaced by interface-based DE PEPPOL implementations in the PEPPOL DE app ("PEPPOL30 DE Sales Validation" implements "PEPPOL30 Validation"). EDocumentDE now pushes the skip-Customer-VAT/GLN-check flag (computed from "E-Document DE Helper".HasRoutingNo) to "PEPPOL30 DE Context" so the new validation... |

## Event subscriptions

- SkipCustomerVATRegNoCheck subscribes to Codeunit "PEPPOL Validation" OnCheckSalesDocumentOnBeforeCheckCustomerVATRegNo
- SkipCheckOnCheckSalesDocumentOnBeforeCheckYourReference subscribes to Codeunit "PEPPOL Validation" OnCheckSalesDocumentOnBeforeCheckYourReference
- OnAfterCheckSalesDocument subscribes to Codeunit "PEPPOL Validation" OnAfterCheckSalesDocument

## Procedures

- `SetBuyerReference(NewBuyerReference: Enum "E-Document Buyer Reference")` (obsolete 29.0: Replaced by "PEPPOL30 DE Context".SetSkipCustomerVATRegNoCheck pushed by EDocumentDE before invoking the W1 EDoc PEPPOL bridge.)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none
- Obsolete: Pending since 29.0, "Replaced by interface-based DE PEPPOL implementations in the PEPPOL DE app ("PEPPOL30 DE Sales Validation" implements "PEPPOL30 Validation"). EDocumentDE now pushes the skip-Customer-VAT/GLN-check flag (computed from "E-Document DE Helper".HasRoutingNo) to "PEPPOL30 DE Context" so the new validation..."

## Deprecations

- object: Pending 29.0 (#if not CLEAN29), "Replaced by interface-based DE PEPPOL implementations in the PEPPOL DE app ("PEPPOL30 DE Sales Validation" implements "PEPPOL30 Validation"). EDocumentDE now pushes the skip-Customer-VAT/GLN-check flag (computed from "E-Document DE Helper".HasRoutingNo) to "PEPPOL30 DE Context" so the new validation..."
- procedure OnAfterCheckSalesDocument: Pending 29.0, "Replaced by the explicit Sell-to E-Mail TestField at the end of "PEPPOL30 DE Sales Validation".CheckSalesDocumentDE."
- procedure SetBuyerReference: Pending 29.0, "Replaced by "PEPPOL30 DE Context".SetSkipCustomerVATRegNoCheck pushed by EDocumentDE before invoking the W1 EDoc PEPPOL bridge."
- procedure SkipCheckOnCheckSalesDocumentOnBeforeCheckYourReference: Pending 29.0, "Replaced by the omitted Your Reference TestField in "PEPPOL30 DE Sales Validation".CheckSalesDocumentDE."
- procedure SkipCustomerVATRegNoCheck: Pending 29.0, "Replaced by the conditional Customer GLN/VAT skip in "PEPPOL30 DE Sales Validation".CheckSalesDocumentDE."

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "EDoc PEPPOL Validation DE")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

A DE country object, not part of W1: the default corpus does not have it; `bcatlas_list_countries` shows which countries the atlas has.
