---
title: "XmlPort 37201 Sales Invoice - PEPPOL30, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/points/
object: https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/
app: "PEPPOL"
major: 29
source: https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/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/"
---

# XmlPort 37201 Sales Invoice - PEPPOL30, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/points/

33 procedures and triggers with a step in src/Apps/W1/PEPPOL/App/src/Sales/XmlPorts/SalesInvoicePEPPOL30.XmlPort.al, in source order, read from the text, not from a run.

## OnBeforePassVariable

[Line 95](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L95), trigger.

- [99](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L99) calls `GetFormat`

## OnBeforePassVariable

[Line 119](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L119), trigger.

- [123](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L123) calls `GetFormat`

## OnBeforePassVariable

[Line 141](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L141), trigger.

- [145](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L145) calls `GetFormat`

## OnBeforePassVariable

[Line 163](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L163), trigger.

- [167](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L167) calls `GetFormat`

## OnBeforePassVariable

[Line 185](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L185), trigger.

- [192](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L192) calls `GetFormat`

## OnAfterGetRecord

[Line 276](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L276), trigger.

- [281](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L281) calls `GetFormat`

## OnBeforePassVariable

[Line 359](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L359), trigger.

- [363](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L363) calls `GetFormat`

## OnBeforePassVariable

[Line 576](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L576), trigger.

- [583](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L583) calls `GetFormat`

## OnBeforePassVariable

[Line 858](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L858), trigger.

- [862](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L862) calls `GetFormat`

## OnBeforePassVariable

[Line 947](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L947), trigger.

- [951](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L951) calls `GetFormat`

## OnBeforePassVariable

[Line 1069](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1069), trigger.

- [1071](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1071) calls `HasDeliveryAddress`

## OnBeforePassVariable

[Line 1076](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1076), trigger.

- [1078](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1078) calls `HasDeliveryAddress`

## OnBeforePassVariable

[Line 1103](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1103), trigger.

- [1107](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1107) calls `GetFormat`
- [1126](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1126) calls `HasDeliveryAddress`

## OnBeforePassVariable

[Line 1194](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1194), trigger.

- [1198](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1198) calls `GetFormat`

## OnAfterGetRecord

[Line 1226](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1226), trigger.

- [1230](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1230) calls `GetFormat`

## OnAfterGetRecord

[Line 1298](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1298), trigger.

- [1302](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1302) calls `FindNextVATAmtRec`
- [1305](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1305) calls `GetFormat`

## OnAfterGetRecord

[Line 1391](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1391), trigger.

- [1395](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1395) calls `FindNextVATAmtRec`
- [1398](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1398) calls `GetFormat`

## OnAfterGetRecord

[Line 1486](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1486), trigger.

- [1492](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1492) calls `FindNextVATAmtRec`
- [1495](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1495) calls `GetFormat`

## OnBeforePassVariable

[Line 1514](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1514), trigger.

- [1518](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1518) calls `GetFormat`

## OnBeforePassVariable

[Line 1632](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1632), trigger.

- [1636](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1636) calls `GetFormat`

## OnBeforePassVariable

[Line 1722](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1722), trigger.

- [1726](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1726) calls `GetFormat`

## OnBeforePassVariable

[Line 1814](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1814), trigger.

- [1819](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1819) calls `GetFormat`

## OnAfterGetRecord

[Line 1866](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1866), trigger.

- [1870](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1870) calls `GetFormat`

## OnAfterGetRecord

[Line 1992](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1992), trigger.

- [1996](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L1996) calls `GetFormat`

## OnBeforePassVariable

[Line 2042](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2042), trigger.

- [2046](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2046) calls `GetFormat`

## OnAfterGetRecord

[Line 2071](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2071), trigger.

- [2075](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2075) calls `GetFormat`

## OnBeforePassVariable

[Line 2091](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2091), trigger.

- [2095](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2095) calls `GetFormat`

## OnAfterGetRecord

[Line 2157](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2157), trigger.

- [2161](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2161) calls `GetFormat`

## OnBeforePassVariable

[Line 2179](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2179), trigger.

- [2183](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2183) calls `GetFormat`

## OnAfterGetRecord

[Line 2194](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2194), trigger.

- [2201](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2201) calls `GetFormat`

## OnAfterGetRecord

[Line 2216](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2216), trigger.

- [2224](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2224) calls [Codeunit 37218 PEPPOL30 Common](https://jonas-paprotka.de/ref/codeunit/37218-peppol30-common/) `GetTotals`
- [2224](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2224) calls `GetFormat`
- [2226](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2226) calls `GetFormat`
- [2237](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2237) calls `GetCustomizationID`
- [2238](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2238) calls `GetProfileID`

## GetFormat

[Line 2293](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2293), local.

- [2298](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2298) calls [Table 37202 PEPPOL 3.0 Setup](https://jonas-paprotka.de/ref/table/37202-peppol-3-0-setup/) `GetSetup`

## Initialize

[Line 2318](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2318).

- [2323](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2323) calls `SetFormat`
- [2326](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2326) calls [Codeunit 1173 Document Attachment Mgmt](https://jonas-paprotka.de/ref/codeunit/1173-document-attachment-mgmt/) `SetDocumentAttachmentFiltersForRecRef`
- [2327](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2327) calls [Codeunit 37218 PEPPOL30 Common](https://jonas-paprotka.de/ref/codeunit/37218-peppol30-common/) `GetInvoiceRoundingLine`
- [2327](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2327) calls `GetFormat`
- [2328](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2328) calls [Codeunit 37218 PEPPOL30 Common](https://jonas-paprotka.de/ref/codeunit/37218-peppol30-common/) `SetFilters`
- [2330](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2330) calls `GetFormat`
- [2331](https://jonas-paprotka.de/ref/xmlport/37201-sales-invoice-peppol30/source/#L2331) calls `GetFormat`

## Source

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

JOP-AL, 2026-11-20.
