code change · featureIntegration & APIsofficial - Microsoftreviewed - checked by Opus

#10342 Add GLN information to XRechnung and ZUGFeRD exports

GLN identifiers with schemeID 0088 are now included in German XRechnung and ZUGFeRD electronic document exports, respecting customer GLN settings and address hierarchy rules.

Pull request · merged into main (BC30) on 2026-08-20 by djukicmilica (community contribution) · 4 files (+344 -23), 2 AL · feature · tier official · reviewed (checked by Opus)

What changed

  • GLNs emitted with schemeID=‘0088’ in XRechnung supplier, customer, and delivery identifiers
  • Customer ‘Use GLN in Electronic Document’ setting is respected for XRechnung customer GLNs
  • Delivery GLNs resolved from ship-to address first, then fallback to sell-to customer if opted-in
  • ZUGFeRD documents now include buyer and ship-to GLNs with schemeID=‘0088’
  • Test coverage added for supplier, customer, and address precedence scenarios
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#646443
  • Labels: ADO: Sync, From Fork, Team: Finance
  • Systems: integration
  • From the description: “Adds GLN information to the German XRechnung and ZUGFeRD exports, aligning their identifier handling with the existing electronic-document setup.”

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).