---
title: "Codeunit 1620 PEPPOL Validation"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/1620-peppol-validation/
type: codeunit
id: 1620
name: "PEPPOL Validation"
app: "Base Application"
namespace: Microsoft.Sales.Peppol
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/1620-peppol-validation/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 1620 PEPPOL Validation

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/1620-peppol-validation/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Sales.Peppol |
| Versions | 17-28 |
| Source file | Sales/Peppol/PEPPOLValidation.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| CheckSalesInvoice | (Record Sales Invoice Header) | - | public | 17-28 | - | - |
| CheckSalesCreditMemo | (Record Sales Cr.Memo Header) | - | public | 17-28 | - | - |
| CheckServiceHeader | (Record Service Header) | - | public | 17-27 | Pending 25.0 | Moved to codeunit PEPPOL Service Validation |
| CheckServiceInvoice | (Record Service Invoice Header) | - | public | 17-27 | Pending 25.0 | Moved to codeunit PEPPOL Service Validation |
| CheckServiceCreditMemo | (Record Service Cr.Memo Header) | - | public | 17-27 | Pending 25.0 | Moved to codeunit PEPPOL Service Validation |
| CheckSalesLineTypeAndDescription | (Record Sales Line) | Boolean | public | 23-28 | - | - |
| CheckSalesDocument | (Record Sales Header) | - | public | 25-28 | - | - |
| CheckSalesDocumentLines | (Record Sales Header) | - | public | 25-28 | - | - |
| CheckSalesDocumentLine | (Record Sales Line) | - | public | 25-28 | - | - |
| RunOnCheckServiceHeaderOnBeforeCheckSalesDocumentLine | (var Record Sales Line, Record Service Line) | - | internal | 25-27 | - | - |
| RunOnCheckServiceInvoiceOnBeforeCheckSalesDocumentLine | (var Record Sales Line, Record Service Invoice Line) | - | internal | 25-27 | - | - |
| RunOnCheckServiceCreditMemoOnBeforeCheckSalesDocumentLine | (var Record Sales Line, Record Service Cr.Memo Line) | - | internal | 25-27 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterCheckSalesDocument | (Record Sales Header, Record Company Information) | 17-28 | - | - |
| Integration event | OnBeforeCheckShipToAddress | (Record Sales Header, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeOnRun | (Record Sales Header, var Boolean) | 18-28 | - | - |
| Integration event | OnCheckSalesDocumentLineOnBeforeCheckEmptyDescription | (Record Sales Line, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeCheckSalesDocument | (var Record Sales Header, var Record Company Information, var Boolean) | 23-28 | - | - |
| Integration event | OnBeforeCheckSalesDocumentLine | (var Record Sales Line, var Boolean) | 23-28 | - | - |
| Integration event | OnCheckServiceHeaderOnBeforeCheckSalesDocumentLine | (var Record Sales Line, Record Service Line) | 23-27 | Pending 25.0 | Moved to codeunit PEPPOL Service Validation |
| Integration event | OnCheckServiceInvoiceOnBeforeCheckSalesDocumentLine | (var Record Sales Line, Record Service Invoice Line) | 23-27 | Pending 25.0 | Moved to codeunit PEPPOL Service Validation |
| Integration event | OnCheckServiceCreditMemoOnBeforeCheckSalesDocumentLine | (var Record Sales Line, Record Service Cr.Memo Line) | 23-27 | Pending 25.0 | Moved to codeunit PEPPOL Service Validation |
| Integration event | OnCheckSalesDocumentOnBeforeCheckCompanyVATRegNo | (Record Sales Header, Record Company Information, var Boolean) | 23-28 | - | - |
| Integration event | OnCheckSalesDocumentOnBeforeCheckCustomerVATRegNo | (Record Sales Header, Record Customer, var Boolean) | 23-28 | - | - |
| Integration event | OnCheckSalesDocumentOnBeforeCheckYourReference | (Record Sales Header, var Boolean) | 26-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
