---
id: object/codeunit/37208
type: object
title: Codeunit 37208 "Export Remit. Advice PEPPOL30"
summary: Codeunit 37208 "Export Remit. Advice PEPPOL30" in PEPPOL (Microsoft.Peppol). 2 public procedures. Introduced in BC29, still in BC30, changed in BC30.
tier: official
language: en
tags:
  - codeunit
  - peppol
versions:
  introduced: "29"
  last_changed: "30"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 10d13ac60bace4538018b449d1602c5a67a8f3628471e58e25c506c0c4a0b4e2
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/PEPPOL/app/src/Payments/ExportRemitAdvicePEPPOL30.Codeunit.al
    title: src/Apps/W1/PEPPOL/app/src/Payments/ExportRemitAdvicePEPPOL30.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/12051
    - change/bcapps/11567
    - change/bcapps/11336
    - change/bcapps/9578
object_type: codeunit
object_id: 37208
name: Export Remit. Advice PEPPOL30
namespace: Microsoft.Peppol
app: PEPPOL
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in:
  - "30"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 22
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Codeunit 37208 "Export Remit. Advice PEPPOL30"

> Codeunit 37208 "Export Remit. Advice PEPPOL30" in PEPPOL (Microsoft.Peppol). 2 public procedures. Introduced in BC29, still in BC30, changed in BC30.

PEPPOL · Microsoft.Peppol · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/PEPPOL/app/src/Payments/ExportRemitAdvicePEPPOL30.Codeunit.al) · facts from BC29

## Procedures

- `GenerateXml(var TempBuffer: Record "Remit. Advice Buffer" temporary; var TempBlob: Codeunit "Temp Blob")`: Generates the UBL 2.1 RemittanceAdvice XML for the given buffer into TempBlob.
- `SetFormat(Format: Enum "PEPPOL 3.0 Purchase")`: Sets the PEPPOL 3.0 Purchase Format to use when exporting the document.

Plus 20 local procedures.

## Recent changes

- 2026-10-01 [#12051 [Peppol] Fix Remittance Advice XML line count, Note order and invoice reference](../../changes/bcapps/12051.md) (main, BC30, fix)
- 2026-09-21 [#11567 [29.x]Report 400 (Remittance Advice) Does Not Include Applied Vendor Refund Entries Resulting in Incorrect Total Calculation](../../changes/bcapps/11567.md) (releases/29.x, BC29, fix)
- 2026-09-21 [#11336 [master] Report 400 (Remittance Advice) Does Not Include Applied Vendor Refund Entries Resulting in Incorrect Total Calculation](../../changes/bcapps/11336.md) (main, BC30, fix)
- 2026-08-11 [#9578 [E-Documents Core] - Enabling remittance advice export via E-Documents (payment journal + posted payments)](../../changes/bcapps/9578.md) (main, BC30, feature, added)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: BC30

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). 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: "codeunit", object_name: "Export Remit. Advice PEPPOL30")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
