
XRechnung Required Fields: Practical Reference Guide
Official references
Use these sources to verify dates, formats, and official rule changes.
Related Technical Wiki
Explore deep-dive developer documentation and regulatory guidelines matching this article.
Complete reference for XRechnung fields (BT-1 to BT-165+), including Business Terms, Business Groups, validation rules, examples, and implementation guidance for EN 16931 compliance.
Everything about the German XRechnung standard: format, validation, Leitweg-ID and compliance requirements for electronic invoicing.
Required seller, buyer, invoice, currency, and line data.
Article overview
This article explains XRechnung Required Fields: Practical Reference Guide as a practical reference for European e-invoicing. It defines the topic in plain language, places it in the compliance context, and connects the explanation to invoice formats such as XRechnung, ZUGFeRD/Factur-X, UBL, and CII.
In this field guide:
Understanding XRechnung Required Fields
XRechnung is based on the European standard EN 16931 and adds German-specific rules. Each field is identified by a Business Term (BT) or Business Group (BG). Use this reference to check the fields and conditions that apply to your invoice.
Fields in XRechnung are categorized by their requirement level:
- Mandatory (M): Must always be provided
- Conditional (C): Required under specific conditions
- Optional (O): Can be included but not required
Invoice Header Fields
BT-1: Invoice Number (M)
Field Name: Invoice Number / Rechnungsnummer
Description: A unique sequential identifier for the invoice assigned by the seller.
Format: Text (1-80 characters)
Example: "RE-2025-001234"
Important: Must be unique within your accounting system. Cannot be reused or duplicated.
BT-2: Invoice Issue Date (M)
Field Name: Issue Date / Rechnungsdatum
Description: The date when the invoice was issued.
Format: Date (YYYY-MM-DD)
Example: "2025-01-16"
BT-3: Invoice Type Code (M)
Field Name: Type Code / Rechnungsart
Description: Identifies whether this is a standard invoice, credit note, etc.
Common Codes:
- 380: Commercial invoice (standard)
- 381: Credit note
- 384: Corrected invoice
- 389: Self-billed invoice
BT-5: Invoice Currency Code (M)
Field Name: Currency / Währung
Description: The currency in which all invoice amounts are expressed.
Format: ISO 4217 currency code
Example: "EUR"
Supplier (Seller) Information
BT-27: Seller Name (M)
Field Name: Seller Name / Verkäufername
Description: The full legal name of the seller.
Example: "Mustermann GmbH"
BG-5: Seller Postal Address (M)
Required Sub-fields:
- BT-35: Street Name (M) - Street and house number
- BT-37: City Name (M) - City/town name
- BT-38: Postal Code (M) - ZIP/postal code
- BT-40: Country Code (M) - ISO 3166-1 Alpha-2 code (e.g., "DE")
BT-31: Seller VAT Identifier (C)
Field Name: VAT ID / Umsatzsteuer-ID
Description: The seller's VAT registration number.
When Required: When using tax codes S, Z, E, AE, K, G, L, or M
Format: Country code + number (e.g., "DE123456789")
BR-CO-9: When VAT is present, provide either the seller VAT identifier (BT-31) or seller tax registration identifier (BT-32).
BT-34: Seller Electronic Address (M)
Field Name: Endpoint ID / Elektronische Adresse
Description: Electronic address used to route the invoice, usually a PEPPOL endpoint identifier or another address supported by the recipient's access point.
Example: "9930:DE123456789"
PEPPOL-EN16931-R020: Mandatory in XRechnung. Use an allowed electronic-address scheme and include its scheme identifier.
Customer (Buyer) Information
BT-44: Buyer Name (M)
Field Name: Buyer Name / Käufername
Description: The full name of the buyer/customer.
Example: "Bundesamt für XYZ"
BT-10: Buyer Reference (M in XRechnung)
Field Name: Buyer Reference / Käuferreferenz
Description: XRechnung always requires the buyer reference under BR-DE-15. For German public-sector recipients, use the Leitweg-ID supplied by the buyer. Other recipients may supply a different reference.
Format: Enter the exact reference supplied by the recipient
Example: "991-01234-76"
BR-DE-15: BT-10 must be present in XRechnung. A public authority can reject an invoice when its required Leitweg-ID is missing or incorrect.
Invoice Line Items
BG-25: Invoice Line (M)
Each line item must contain:
BT-126: Line Identifier (M)
Sequential line number (1, 2, 3...)
BT-129: Invoiced Quantity (M)
Quantity of items/services
BT-130: Quantity Unit Code (M)
Unit of measure (e.g., "C62" for pieces, "HUR" for hours)
BT-146: Item Net Price (M)
Price per unit excluding VAT
BT-131: Line Net Amount (M)
Total line amount (quantity × unit price)
BT-153: Item Name (M)
Description of the item/service
BT-151: Item VAT Category Code (M)
VAT category for this line
Tax Information
BG-23: VAT Breakdown (C)
When VAT applies, provide one breakdown for each VAT category and rate used:
- BT-116: VAT Category Taxable Amount - Net amount subject to this VAT rate
- BT-117: VAT Category Tax Amount - VAT amount for this category
- BT-118: VAT Category Code - Category code (S, Z, E, etc.)
- BT-119: VAT Category Rate - VAT percentage (for example, 19 or 7; required for taxable categories)
Common VAT Category Codes:
- S: Standard or reduced rate (19% or 7% in Germany, where applicable)
- Z: Zero-rated
- E: Exempt
- AE: Reverse charge
- K: Intra-EU supply
- G: Export outside EU
Payment Details
BT-9: Payment Due Date (C)
Description: Date by which payment is due.
Format: Date (YYYY-MM-DD)
When Required: If payment terms specify a due date
BG-16/17: Payment Instructions
Provide the payment information that applies to the invoice:
Credit Transfer (BG-17)
- BT-84: Payment Account ID (IBAN)
- BT-86: Payment Service Provider ID (BIC) - optional for SEPA
Direct Debit (BG-19)
- BT-89: Mandate Reference ID
- BT-91: Debited Account ID
Special German Requirements
German-Specific Extensions
Skonto (Cash Discount)
If offering early payment discount:
- Discount percentage
- Discount period in days
- Discount base amount
Contact Information
Recommended to include:
- BT-41: Seller contact point
- BT-42: Seller contact telephone
- BT-43: Seller contact email
Validation Tips and Common Errors
Pre-Submission Checklist
- ✓ All mandatory fields are filled
- ✓ Leitweg-ID matches exactly (including hyphens and case)
- ✓ VAT calculations are correct (line amounts × VAT rate = VAT amount)
- ✓ Sum of line net amounts equals invoice subtotal
- ✓ Currency codes are valid ISO codes
- ✓ Dates are in YYYY-MM-DD format
- ✓ Country codes are 2-letter ISO codes
- ✓ VAT ID includes country prefix
Common Rejection Reasons
- Missing or incorrect Leitweg-ID
- Missing seller electronic address (EndpointID)
- VAT ID missing when required
- Calculation errors in totals
- Invalid date formats
- Missing mandatory address fields
Need Help Creating Compliant XRechnung Invoices?
Our converter automatically validates all required fields and ensures your invoices meet German B2G requirements:
Try Our XRechnung ConverterHow to use this guide
Use the article as a starting point before changing a finance or ERP workflow: identify the applicable country rule or standard, decide which structured format is expected, validate the generated XML, and keep a documented exception process for invoices that require manual review.
Ready to convert your invoices?
Start converting PDF invoices to XRechnung, ZUGFeRD, and other formats today with credits or a paid plan.
Related articles
KoSIT Validator Error Codes: BR-DE XRechnung Validation Errors [2026]
Guide to selected KoSIT validator BR-DE rules, UBL-CR-646, and other XRechnung/ZUGFeRD validation errors, with practical fixes.
Read moreZUGFeRD BT Fields: Business Terms for Practical E-Invoicing
Understand ZUGFeRD BT fields, profile matrix (MINIMUM, BASIC, EN 16931, EXTENDED), field mappings, and compliance checks for EU e-invoicing.
Read moreLeitweg-ID Finder: Format, Examples & State-by-State Rules (2026)
Find your Leitweg-ID for XRechnung. Validation tool, format breakdown (Bund vs. Bundesländer), Grobstruktur/Feinstruktur, and state routing rules.
Read more