--- title: "What is an XRechnung and what do I need the Buyer Reference for?" slug: "was-ist-eine-xrechnung-und-wofür-benötige-ich-die-leitweg-id" updated: 2026-01-16T12:49:39Z published: 2026-01-16T12:49:39Z canonical: "help.frisbii.com/was-ist-eine-xrechnung-und-wofür-benötige-ich-die-leitweg-id" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.frisbii.com/llms.txt > Use this file to discover all available pages before exploring further. # What is an XRechnung and what do I need the Buyer Reference for? ### XRechnung - What is an XRechnung? An XRechnung is a standardized XML invoice that is required for the exchange of electronic invoices from and with German administrations. It complies with Directive 2014/55/EU in Germany. Frisbii Media automatically generates an XRechnung that can be used. - Retrieve XInvoice via API: API endpoint [https://api.frisbii-media.com/#tag/Invoices/operation/getInvoiceXml](https://api.frisbii-media.com/#tag/Invoices/operation/getInvoiceXml) - Download XRechnung in the Merchant Backend: - Open the **Invoices** tab. - Click on the **Invoice ID** in the list view. The invoice opens. - Click on **Download** **XRechnung** in the action bar. - Download XRechnung in Self Service: Every customer can download an XRechnung independently in the **Invoices** snippet. The Federal Government provides further information on XRechnungen at [https://www.e-rechnung-bund.de/](https://www.e-rechnung-bund.de/). ### Buyer Reference The buyer reference is mandatory for electronic invoicing to public clients of the federal administration. The buyer reference can be managed in a customer account. - Add buyer reference to a customer account in the Merchant Backend - Create new customer manually: Click on **Create Customer**. - For existing customers: Edit **customer data**. - Adding a buyer reference to a customer account via the API - [https://api.frisbii-media.com/#tag/Customers/operation/createCustomer](https://api.frisbii-media.com/#tag/Customers/operation/createCustomer) - [https://api.frisbii-media.com/#tag/Customers/operation/updateCustomer](https://api.frisbii-media.com/#tag/Customers/operation/updateCustomer)