#10029 [Main]-Import of e-documents with format ZUGfERD & XRECHNUNG fail with error message You cannot insert a purchase line without a purchase header in German localisation
An earlier fix in the German XRechnung and ZUGFeRD import codeunits is reverted. The error 'You cannot insert a purchase line without a purchase header' is now handled by a separate change to Purchase Line and Sales Line in another PR.
- 2files
- 2AL files
- 2objects
Pull request · merged into main (BC30) on 2026-08-14 by DeepsShukla · 2 files (+18 -18), 2 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Reverts a previous fix in the XRechnung and ZUGFeRD import codeunits of the German e-document app
- The revert is done because Purchase Line and Sales Line were changed in another PR
- Linked to the bug where these imports failed because a purchase line had no purchase header
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 13915 “Import XRechnung Document”, EDocumentDE (DE layer): modified
- Codeunit 13919 “Import ZUGFeRD Document”, EDocumentDE (DE layer): modified
Context
- Work items: AB#636659
- Labels: Team: Finance
- Systems: integration
- From the description: “This pull requested is created to revert back the previous fix as Purchase and Sales Line is modified”
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).