#9426 [E-Document Formats] Migrate NAV PRs 247170 and 247176 into BCApps
PINT A-NZ and Factura-E e-document formats are migrated to the structured import pipeline with new IStructuredFormatReader implementations that parse XML directly into purchase draft staging tables.
- 16files
- 2AL files
- 2objects
Pull request · merged into main (BC30) on 2026-07-23 by Groenbech96 · 16 files (+1902 -3), 2 AL · feature · tier official · reviewed (checked by Opus)
What changed
- New EDocumentPINTANZHandler and EDocumentFacturaEHandler codeunits implement IStructuredFormatReader.ReadIntoDraft to parse UBL invoice/credit-memo and Factura-E 3.2.2 XML formats
- E-Document PEPPOL Utility codeunit provides shared reusable logic for extracting PEPPOL BIS 3.0 UBL data (namespaces, parties, amounts, lines, attachments, currency)
- SetBuffer method on E-Doc. Readable Purchase Doc. page promoted from internal to public to allow format readers to present extracted data without persisting drafts
- Enum extensions register new handlers on E-Doc. Read into Draft enumeration for both formats
- Comprehensive structured integration tests added covering content extraction, purchase invoice creation with auto-matched item references, and draft line updates
- Behaviour changes for users or extensions.
AL objects touched
- Page 6182 “E-Doc. Readable Purchase Doc.”, EDocument: modified
- Codeunit 6401 “E-Document PEPPOL Utility”, EDocument: modified
Context
- Work items: AB#580191
- Labels: AL: Apps (W1), Ownership: Needs Review, Team: Other
- Systems: integration
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).