web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Send X-Rechnung Bug "Buyer Reference"

(6) ShareShare
ReportReport
Posted on by 12
Dear Community,
 
We are experiencing the following issue in our environment (Business Central 27, German localization, current version) when exporting an XRechnung (E-Invoice):

The mandatory field Buyer Reference (BT-10) is not being output in the generated XML, even though:
  • The field “Ihre Referenz” (“Your Reference”) is filled out with a value in the sales order and posted sales invoice (e.g., “IhreRef49”).
  • In the E-Belegdienst “XRECHNUNG” under “Export – Buyer Reference,” the mapping is set to “Ihre Referenz” and “Buyer Reference Required” is activated.
  • The “Elektronische Belegformate” (Electronic Document Formats) table has been extended to include “XRECHNUNG,” and is configured with codeunit 13916 (“Export XRechnung Document”).
Despite these settings and data, the <cbc:BuyerReference> element is not written in the exported XML and the XRechnung is rejected by the validator with error [BR-DE-15] “The element ‘Buyer reference’ (BT-10) must be provided”.
Screenshots of the relevant settings and invoices, as well as the generated XML, can be provided.
We kindly ask for clarification:
  • Is this a known bug in BC27 or codeunit 13916?
  • How can the mapping be correctly activated so that Buyer Reference is reliably included in the export?
  • Is there a hotfix, update, or workaround to ensure the Buyer Reference (as required by the XRechnung standard, BT-10) is written to the XML?
Thank you for your support!
 
Best regards,
Kai
I have the same question (0)
  • Suggested answer
    OussamaSabbouh Profile Picture
    12,803 Super User 2026 Season 1 on at
    Hello,
     
    Updating to the latest BC27 cumulative update usually resolves it.
    If updating isn’t possible, a small event subscriber can be used as a workaround to force the Buyer Reference into the XML.
     
    Regards,
    Oussama Sabbouh
  • Suggested answer
    YUN ZHU Profile Picture
    99,055 Super User 2026 Season 1 on at
    This appears to be a standard issue; it's recommended to submit it to Microsoft.
    And a bug update will be applied to all versions.
     
     
    Thanks.
    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,926 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,158 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 533 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans