---
id: change/bcapps/10048
type: change
title: "#10048 Add GTIN to XRechnung and ZUGFeRD exports"
summary: GTIN codes from item cards are now exported to XRechnung and ZUGFeRD documents with GS1 scheme, enabling recipients to identify invoiced items by their standard product identifier.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit export xrechnung document
  - codeunit export zugferd document
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:09:39.068Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 56f959f1347ef46b5a684372bd8863475e9fd92f
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10048
    title: "microsoft/BCApps#10048: Add GTIN to XRechnung and ZUGFeRD exports"
    date: "2026-08-12"
    commit: 56f959f1347ef46b5a684372bd8863475e9fd92f
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/13916-de
    - object/codeunit/13917-de
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10048
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10048
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-12T10:29:11Z"
author: djukicmilica
author_type: User
community_contribution: false
labels:
  - "Team: Integrations"
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 4
  additions: 493
  deletions: 38
  al: 2
apps:
  - EDocumentDE
objects_touched:
  - key: codeunit/13916
    page: codeunit/13916-de
    type: codeunit
    id: 13916
    name: Export XRechnung Document
    app: EDocumentDE
    status: modified
  - key: codeunit/13917
    page: codeunit/13917-de
    type: codeunit
    id: 13917
    name: Export ZUGFeRD Document
    app: EDocumentDE
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 646116
systems:
  - integration
quote: null
joined_against:
  major: "30"
  commit: a4406cfa9e57437fedc49c53c327a199a854491e
---

# #10048 Add GTIN to XRechnung and ZUGFeRD exports

> GTIN codes from item cards are now exported to XRechnung and ZUGFeRD documents with GS1 scheme, enabling recipients to identify invoiced items by their standard product identifier.

[Pull request](https://github.com/microsoft/BCApps/pull/10048) · merged into `main` (BC30) on 2026-08-12 by djukicmilica · 4 files (+493 -38), 2 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- GTIN values are exported with GS1 scheme 0160 to item lines in XRechnung and ZUGFeRD formats
- Applies to sales invoices and credit memos
- Blank GTIN values are omitted from exports
- XML regression tests added for both formats
- Improves item identification capabilities for retail and service scenarios
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 13916 "Export XRechnung Document"](../../objects/codeunit/13916-de.md), EDocumentDE (DE layer): modified
- [Codeunit 13917 "Export ZUGFeRD Document"](../../objects/codeunit/13917-de.md), EDocumentDE (DE layer): modified

## Context

- Work items: AB#646116
- Labels: Team: Integrations
- 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).
