#11560 [E-Documents Core] [Peppol] - Enabling EDI capabilities with E-Documents. Send path (Self-Billed Purchase Invoice/Credit Memo → E-Document)
Enables exporting self-billed purchase invoices and credit memos as Peppol BIS 3.0 e-documents, with automatic type assignment based on vendor self-billing agreements and new manual creation actions on posted purchase pages.
- 13files
- 11AL files
- 11objects
Pull request · merged into main (BC30) on 2026-10-07 by jzaksauskas (community contribution) · 13 files (+1544 -11), 11 AL · feature · tier official · reviewed (checked by Opus)
What changed
- Adds two new E-Document Type values for self-billed purchase documents to distinguish them from ordinary purchase invoices
- Implements automatic type assignment when posting purchase documents if vendor has active self-billing agreement
- Creates new self-billed Peppol export codeunit with swapped party roles using vendor as supplier and company as customer
- Adds manual actions on Posted Purchase Invoice and Credit Memo pages for creating self-billed e-documents
- Includes export validation for participant presence and VAT registration with graceful error logging
- Behaviour changes for users or extensions.
AL objects touched
- Enum 6121 “E-Document Type”, EDocument: modified
- Page extension 6147 “E-Doc. Posted Purch. Cr. Memo”, EDocument: modified
- Page extension 6146 “E-Doc. Posted Purch. Inv.”, EDocument: modified
- Codeunit 6165 “EDoc PEPPOL BIS 3.0”, EDocument: modified
- Codeunit 6102 “E-Doc. Export”, EDocument: modified
- Codeunit 6108 “E-Document Processing”, EDocument: modified
- Codeunit 6103 “E-Document Subscribers”, EDocument: modified
- Codeunit 37200 “PEPPOL30”, PEPPOL: modified
- Codeunit 37218 “PEPPOL30 Common”, PEPPOL: modified
- Codeunit 37201 “PEPPOL30 Impl.”, PEPPOL: modified
- Codeunit 37230 “Export Self-Billed PEPPOL30”, PEPPOL: added
Also merged into
- #12902 into
releases/29.xon 2026-10-16
Context
- Work items: AB#580429
- Labels: ADO: Sync, AL: Apps (W1), From Fork, Team: Integrations
- Systems: integration, purchasing
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Extending the e-documents functionality — possibly related: touches Enum 6121 “E-Document Type”
- Electronic Invoicing in Norway — possibly related: Covers PEPPOL electronic invoicing framework for purchase invoices and credit memos in e-documents. (model-linked)
- Send Electronic Documents — possibly related: Documents sending electronic purchase documents in PEPPOL format through the e-documents framework. (model-linked)
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).