---
id: object/xmlport/1610
type: object
title: XMLport 1610 "Sales Invoice - PEPPOL BIS 3.0"
summary: XMLport 1610 "Sales Invoice - PEPPOL BIS 3.0" in Base Application (Microsoft.Sales.Peppol). 2 public procedures, 8 events. Present since at least BC23, still in BC30, changed in BC25-26, BC29. Obsolete (Pending since 29.0).
tier: official
language: en
tags:
  - xmlport
  - base application
versions:
  introduced: null
  last_changed: "29"
  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: 9e0fc5d50bd696f40b6c3eed9e855b1241922cc0edacd55048bcf1ef028e8503
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/Peppol/SalesInvoicePEPPOLBIS30.XmlPort.al
    title: src/Layers/W1/BaseApp/Sales/Peppol/SalesInvoicePEPPOLBIS30.XmlPort.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: xmlport
object_id: 1610
name: Sales Invoice - PEPPOL BIS 3.0
namespace: Microsoft.Sales.Peppol
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "25"
  - "26"
  - "29"
source_major: "29"
obsolete:
  state: Pending
  tag: "29.0"
  reason: Replaced by PEPPOL App
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 16
  events: 8
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 4
  calls: 1
  called_by: 0
  implements: 0
---

# XMLport 1610 "Sales Invoice - PEPPOL BIS 3.0"

> XMLport 1610 "Sales Invoice - PEPPOL BIS 3.0" in Base Application (Microsoft.Sales.Peppol). 2 public procedures, 8 events. Present since at least BC23, still in BC30, changed in BC25-26, BC29. Obsolete (Pending since 29.0).

Base Application · Microsoft.Sales.Peppol · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/Peppol/SalesInvoicePEPPOLBIS30.XmlPort.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Sales Invoice - PEPPOL BIS 3.0 |
| ObsoleteState | Pending |
| ObsoleteTag | 29.0 |
| ObsoleteReason | Replaced by PEPPOL App |

## Events published

- `OnGetTotals(SourceRecRef: RecordRef; var SalesLine: Record "Sales Line"; var TempVATAmtLine: Record "VAT Amount Line" temporary; var TempVATProductPostingGroup: Record "VAT Product Posting Group" temporary; ProcessedDocType: Enum "PEPPOL Processing Type")` (integration): Raised when calculating totals for PEPPOL BIS 3.0 sales invoice export.
  - subscribers: [Codeunit 6458 "Serv. PEPPOL Management"](../codeunit/6458.md) InvoicePEPPOLBIS30_OnGetTotals
- `OnInitialize(SourceRecRef: RecordRef; var TempSalesLineRounding: Record "Sales Line" temporary; var DocumentAttachments: Record "Document Attachment"; var ProcessedDocType: Enum "PEPPOL Processing Type"; var IsHandled: Boolean)` (integration): Raised when initializing the PEPPOL BIS 3.0 sales invoice export.
  - subscribers: [Codeunit 6458 "Serv. PEPPOL Management"](../codeunit/6458.md) InvoicePEPPOLBIS30_OnInitialize
- `OnFindNextInvoiceRec(Position: Integer; var SalesHeader: Record "Sales Header"; var Found: Boolean)` (integration): Raised when finding the next invoice record during PEPPOL BIS 3.0 export.
  - subscribers: [Codeunit 6458 "Serv. PEPPOL Management"](../codeunit/6458.md) InvoicePEPPOLBIS30_OnFindNextInvoiceRec
- `OnFindNextInvoiceLineRec(Position: Integer; var SalesLine: Record "Sales Line"; var Found: Boolean)` (integration): Raised when finding the next invoice line record during PEPPOL BIS 3.0 export.
  - subscribers: [Codeunit 6458 "Serv. PEPPOL Management"](../codeunit/6458.md) InvoicePEPPOLBIS30_OnFindNextInvoiceLineRec
- `OnBeforeFindSalesInvoiceLine(var SalesInvoiceLine: Record "Sales Invoice Line")` (integration): Raised before finding sales invoice lines during PEPPOL BIS 3.0 export.
- `OnGetTotalsOnBeforeGetSalesLineTotals(var SalesInvoiceLine: Record "Sales Invoice Line"; var SalesLine: Record "Sales Line")` (integration): Raised before calculating sales line totals during PEPPOL BIS 3.0 export.
- `OnInvoiceLineLoopOnAfterGetRecordOnBeforeGetLineGeneralInfo(var SalesInvoiceLine: Record "Sales Invoice Line"; var SalesLine: Record "Sales Line")` (integration): Raised before retrieving line general information during invoice line processing.
- `OnInitializeOnBeforeGetInvoiceRoundingLine(var SalesInvoiceLine: Record "Sales Invoice Line"; var SalesLine: Record "Sales Line")` (integration): Raised before retrieving the invoice rounding line during initialization.

## Procedures

- `Initialize(DocVariant: Variant)`: Initializes the XmlPort with the document to export.
- `SetGeneratePDF(GeneratePDFValue: Boolean)`: Controls whether a PDF document should be generated and included as an additional document reference.

Plus 6 local procedures.

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 1605 "PEPPOL Management"](../codeunit/1605.md) (5 calls: `FindNextInvoiceLineRec → FindNextSalesInvoiceLineRec`, `FindNextInvoiceRec → FindNextSalesInvoiceRec`, `GetTotals → GetTaxCategories`, …)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC25-26, BC29
- Obsolete: Pending since 29.0, "Replaced by PEPPOL App"

## Deprecations

- object: Pending 29.0 (#if not CLEAN29), "Replaced by PEPPOL App"

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). The call sections above are our own, per object, from the BC29 call graph. 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: "xmlport", object_name: "Sales Invoice - PEPPOL BIS 3.0")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
