---
title: "Codeunit 37216 PEPPOL30 Sales Validation, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/points/
object: https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/
app: "PEPPOL"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/
checked: 2026-11-20
changed: 2026-11-17
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 37216 PEPPOL30 Sales Validation, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/points/

14 procedures and triggers with a step in src/Apps/W1/PEPPOL/App/src/Sales/PEPPOL30SalesValidation.Codeunit.al, in source order, read from the text, not from a run.

## OnRun

[Line 15](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L15), trigger.

- [17](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L17) calls `ValidateDocument`
- [18](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L18) calls `ValidateDocumentLines`

## ValidateDocument

[Line 27](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L27).

- [31](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L31) calls [Codeunit 37203 PEPPOL30 Sales Validation Impl](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/) `CheckSalesDocument`

## ValidateDocumentLines

[Line 39](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L39).

- [43](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L43) calls [Codeunit 37203 PEPPOL30 Sales Validation Impl](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/) `CheckSalesDocumentLines`

## ValidateDocumentLine

[Line 51](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L51).

- [55](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L55) calls [Codeunit 37203 PEPPOL30 Sales Validation Impl](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/) `CheckSalesDocumentLine`

## ValidatePostedDocument

[Line 63](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L63).

- [67](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L67) calls [Codeunit 37203 PEPPOL30 Sales Validation Impl](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/) `CheckPostedDocument`

## ValidateLineTypeAndDescription

[Line 75](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L75).

- [79](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L79) calls [Codeunit 37203 PEPPOL30 Sales Validation Impl](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/) `CheckSalesLineTypeAndDescription`

## CheckCurrencyCode

[Line 88](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L88).

- [92](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L92) calls [Codeunit 37203 PEPPOL30 Sales Validation Impl](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/) `CheckCurrencyCode`

## CheckCountryRegionCode

[Line 99](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L99).

- [103](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L103) calls [Codeunit 37203 PEPPOL30 Sales Validation Impl](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/) `CheckCountryRegionCode`

## CheckShipToAddress

[Line 110](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L110).

- [114](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L114) calls [Codeunit 37203 PEPPOL30 Sales Validation Impl](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/) `CheckShipToAddress`

## CheckTaxCategory

[Line 121](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L121).

- [125](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L125) calls [Codeunit 37203 PEPPOL30 Sales Validation Impl](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/) `CheckTaxCategory`

## EnsureZeroRate

[Line 133](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L133).

- [137](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L137) calls [Codeunit 37203 PEPPOL30 Sales Validation Impl](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/) `EnsureZeroRate`

## EnsurePositiveRate

[Line 145](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L145).

- [149](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L149) calls [Codeunit 37203 PEPPOL30 Sales Validation Impl](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/) `EnsurePositiveRate`

## EnsureSingleOutsideScopeVATBreakdown

[Line 156](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L156).

- [160](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L160) calls [Codeunit 37203 PEPPOL30 Sales Validation Impl](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/) `EnsureSingleOutsideScopeVATBreakdown`

## RunOnBeforeCheckShipToAddress

[Line 164](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L164), internal.

- [166](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/source/#L166) raises `OnBeforeCheckShipToAddress`, IsHandled

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
