---
title: "Codeunit 37203 PEPPOL30 Sales Validation Impl, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/points/
object: https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/
app: "PEPPOL"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/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 37203 PEPPOL30 Sales Validation Impl, extension points 29

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

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

## CheckSalesDocument

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

- [49](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L49) calls `CheckCurrencyCode`
- [66](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L66) calls `CheckCountryRegionCode`
- [68](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L68) calls `CheckCompanyPartyIdentification`
- [75](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L75) calls `CheckCountryRegionCode`
- [80](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L80) calls `CheckCustomerPartyIdentification`
- [91](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L91) calls `CheckShipToAddress`

## CheckCompanyPartyIdentification

[Line 100](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L100), local.

- [107](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L107) calls `GetSalesFormat`
- [109](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L109) calls [Codeunit 37201 PEPPOL30 Impl.](https://jonas-paprotka.de/ref/codeunit/37201-peppol30-impl/) `CheckCompanyPartyIdentification`

## CheckCustomerPartyIdentification

[Line 112](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L112), local.

- [121](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L121) calls `GetSalesFormat`
- [125](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L125) calls [Codeunit 37201 PEPPOL30 Impl.](https://jonas-paprotka.de/ref/codeunit/37201-peppol30-impl/) `CheckCustomerPartyIdentification`

## GetSalesFormat

[Line 128](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L128), local.

- [132](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L132) calls [Table 37202 PEPPOL 3.0 Setup](https://jonas-paprotka.de/ref/table/37202-peppol-3-0-setup/) `GetSetup`

## CheckSalesDocumentLines

[Line 136](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L136).

- [144](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L144) calls `CheckSalesDocumentLine`

## CheckSalesDocumentLine

[Line 148](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L148).

- [163](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L163) calls [Codeunit 37200 PEPPOL30](https://jonas-paprotka.de/ref/codeunit/37200-peppol30/) `GetLineUnitCodeInfo`
- [167](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L167) calls `CheckSalesLineTypeAndDescription`
- [172](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L172) calls [Table 98 General Ledger Setup](https://jonas-paprotka.de/ref/table/98-general-ledger-setup/) `UseVat`
- [177](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L177) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`

## CheckAllocationAccountExpandedLines

[Line 182](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L182), local.

- [192](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L192) calls [Codeunit 2675 Allocation Account Mgt.](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/) `GenerateAllocationLines`
- [194](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L194) calls [Table 37 Sales Line](https://jonas-paprotka.de/ref/table/37-sales-line/) `GetSalesHeader`

## CheckPostedDocument

[Line 207](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L207).

- [213](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L213) calls [Codeunit 701 Data Type Management](https://jonas-paprotka.de/ref/codeunit/701-data-type-management/) `GetRecordRef`
- [218](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L218) calls `CheckSalesInvoice`
- [220](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L220) calls `CheckSalesCreditMemo`

## CheckSalesInvoice

[Line 226](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L226), internal.

- [234](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L234) calls `CheckSalesDocument`
- [240](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L240) calls `CheckSalesDocumentLine`

## CheckSalesCreditMemo

[Line 244](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L244), internal.

- [252](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L252) calls `CheckSalesDocument`
- [258](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L258) calls `CheckSalesDocumentLine`

## CheckShipToAddress

[Line 306](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L306), internal.

- [312](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L312) calls [Codeunit 37216 PEPPOL30 Sales Validation](https://jonas-paprotka.de/ref/codeunit/37216-peppol30-sales-validation/) `RunOnBeforeCheckShipToAddress`
- [317](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L317) calls `HasShipToAddress`
- [324](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L324) calls `CheckCountryRegionCode`

## CheckTaxCategory

[Line 338](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L338), internal.

- [347](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L347) calls [Codeunit 37200 PEPPOL30](https://jonas-paprotka.de/ref/codeunit/37200-peppol30/) `IsStandardVATCategory`
- [349](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L349) calls [Codeunit 37200 PEPPOL30](https://jonas-paprotka.de/ref/codeunit/37200-peppol30/) `IsOutsideScopeVATCategory`
- [354](https://jonas-paprotka.de/ref/codeunit/37203-peppol30-sales-validation-impl/source/#L354) calls [Codeunit 37200 PEPPOL30](https://jonas-paprotka.de/ref/codeunit/37200-peppol30/) `IsZeroVatCategory`

## Source

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

JOP-AL, 2026-11-20.
