XRechnung and ZUGFeRD error codes explained
The official KoSIT validator reports errors with codes such as BR-DE-15 or BR-CO-10. Each code below has its own page saying what it means and how to fix it, with the XML elements involved.
German XRechnung rules (BR-DE)
- BR-DE-1 Payment instructions missing
- BR-DE-2 Seller contact missing
- BR-DE-3 Seller city missing
- BR-DE-4 Seller post code missing
- BR-DE-5 Seller contact point missing
- BR-DE-6 Seller contact phone missing
- BR-DE-7 Seller contact e-mail missing
- BR-DE-8 Buyer city missing
- BR-DE-9 Buyer post code missing
- BR-DE-10 Deliver-to city missing
- BR-DE-11 Deliver-to post code missing
- BR-DE-14 VAT category rate missing
- BR-DE-15 Buyer reference (Leitweg-ID) missing
- BR-DE-16 Seller VAT id or tax number missing
- BR-DE-17 Invoice type code not intended for XRechnung(Warning)
- BR-DE-18 Cash discount (Skonto) has the wrong format
- BR-DE-19 IBAN is invalid(Warning)
- BR-DE-20 Debited IBAN is invalid(Warning)
- BR-DE-21 Document is not marked as XRechnung(Warning)
- BR-DE-22 Attachment file names are not unique
- BR-DE-23-a Credit transfer without account details
- BR-DE-23-b Credit transfer with card or direct debit details
- BR-DE-24-a Card payment without card details
- BR-DE-24-b Card payment with transfer or debit details
- BR-DE-25-a Direct debit without debit details
- BR-DE-25-b Direct debit with transfer or card details
- BR-DE-26 Corrected invoice without reference(Warning)
- BR-DE-27 Phone number has too few digits(Warning)
- BR-DE-28 E-mail address looks invalid(Warning)
- BR-DE-30 Creditor id missing for direct debit
- BR-DE-31 Debited account missing for direct debit
- BR-DE-CVD-01 Contract reference missing (clean vehicles)
- BR-DE-CVD-02 Tender or lot reference missing (clean vehicles)
- BR-DE-CVD-03 Vehicle category missing (clean vehicles)
- BR-DE-CVD-04 Invalid vehicle category (clean vehicles)
- BR-DE-CVD-05 Invalid cva value (clean vehicles)
- BR-DE-CVD-06-a cva attribute missing for CVD classification
- BR-DE-CVD-06-b CVD classification missing for cva attribute
- BR-DE-TMP-32 Delivery date or period missing
Mandatory content per EN 16931 (BR-01 to BR-65)
- BR-01 Specification identifier missing
- BR-02 Invoice number missing
- BR-03 Invoice issue date missing
- BR-04 Invoice type code missing
- BR-05 Invoice currency missing
- BR-06 Seller name missing
- BR-07 Buyer name missing
- BR-08 Seller postal address missing
- BR-09 Seller country code missing
- BR-10 Buyer postal address missing
- BR-11 Buyer country code missing
- BR-12 Sum of line net amounts missing
- BR-13 Total without VAT missing
- BR-14 Total with VAT missing
- BR-15 Amount due missing
- BR-16 No invoice line
- BR-17 Payee name missing
- BR-18 Tax representative name missing
- BR-19 Tax representative address missing
- BR-20 Tax representative country missing
- BR-21 Invoice line identifier missing
- BR-22 Invoiced quantity missing
- BR-23 Unit of measure missing
- BR-24 Line net amount missing
- BR-25 Item name missing
- BR-26 Item net price missing
- BR-27 Item net price is negative
- BR-28 Item gross price is negative
- BR-29 Invoicing period ends before it starts
- BR-30 Line period ends before it starts
- BR-31 Document allowance amount missing
- BR-32 Document allowance VAT category missing
- BR-33 Document allowance reason missing
- BR-36 Document charge amount missing
- BR-37 Document charge VAT category missing
- BR-38 Document charge reason missing
- BR-41 Line allowance amount missing
- BR-42 Line allowance reason missing
- BR-43 Line charge amount missing
- BR-44 Line charge reason missing
- BR-45 VAT taxable amount missing
- BR-46 VAT category tax amount missing
- BR-47 VAT category code missing
- BR-48 VAT category rate missing
- BR-49 Payment means code missing
- BR-50 Account identifier missing for credit transfer
- BR-51 Full card number included
- BR-52 Supporting document reference missing
- BR-53 VAT total in accounting currency missing
- BR-54 Item attribute incomplete
- BR-55 Preceding invoice number missing
- BR-56 Tax representative VAT id missing
- BR-57 Deliver-to country missing
- BR-61 Account identifier missing for credit transfer
- BR-62 Seller electronic address scheme missing
- BR-63 Buyer electronic address scheme missing
- BR-64 Item standard identifier scheme missing
- BR-65 Item classification scheme missing
- BR-B-01 Split payment only for domestic Italian invoices
- BR-B-02 Split payment mixed with standard rate
Calculations and dependencies (BR-CO)
- BR-CO-03 VAT point date and VAT point date code both given
- BR-CO-04 Line VAT category missing
- BR-CO-05 Allowance reason and reason code disagree
- BR-CO-06 Charge reason and reason code disagree
- BR-CO-07 Line allowance reason and code disagree
- BR-CO-08 Line charge reason and code disagree
- BR-CO-09 VAT id without country prefix
- BR-CO-10 Sum of line net amounts is wrong
- BR-CO-11 Sum of allowances is wrong
- BR-CO-12 Sum of charges is wrong
- BR-CO-13 Total without VAT is wrong
- BR-CO-14 Total VAT is wrong
- BR-CO-15 Total with VAT is wrong
- BR-CO-16 Amount due is wrong
- BR-CO-17 VAT amount of a category is wrong
- BR-CO-18 VAT breakdown missing
- BR-CO-19 Invoicing period without dates
- BR-CO-20 Line period without dates
- BR-CO-21 Allowance without reason
- BR-CO-22 Charge without reason
- BR-CO-23 Line allowance without reason
- BR-CO-24 Line charge without reason
- BR-CO-26 Seller cannot be identified
VAT categories (BR-S, BR-Z, BR-E, BR-AE …)
- BR-AE-01 VAT breakdown for reverse charge missing or duplicated
- BR-AE-02 Identifier missing for reverse charge (lines)
- BR-AE-03 Identifier missing for reverse charge (allowances)
- BR-AE-04 Identifier missing for reverse charge (charges)
- BR-AE-05 VAT rate must be 0 for reverse charge (lines)
- BR-AE-06 VAT rate must be 0 for reverse charge (allowances)
- BR-AE-07 VAT rate must be 0 for reverse charge (charges)
- BR-AE-08 Taxable amount for reverse charge is wrong
- BR-AE-09 VAT amount must be 0 for reverse charge
- BR-AE-10 Exemption reason missing for reverse charge
- BR-AF-01 VAT breakdown for IGIC (Canary Islands) missing
- BR-AF-02 Identifier missing for IGIC (Canary Islands) (lines)
- BR-AF-03 Identifier missing for IGIC (Canary Islands) (allowances)
- BR-AF-04 Identifier missing for IGIC (Canary Islands) (charges)
- BR-AF-05 Negative VAT rate with IGIC (Canary Islands) (lines)
- BR-AF-06 Negative VAT rate with IGIC (Canary Islands) (allowances)
- BR-AF-07 Negative VAT rate with IGIC (Canary Islands) (charges)
- BR-AF-08 Taxable amount for IGIC (Canary Islands) is wrong
- BR-AF-09 VAT amount for IGIC (Canary Islands) is wrong
- BR-AF-10 Exemption reason not allowed for IGIC (Canary Islands)
- BR-AG-01 VAT breakdown for IPSI (Ceuta and Melilla) missing
- BR-AG-02 Identifier missing for IPSI (Ceuta and Melilla) (lines)
- BR-AG-03 Identifier missing for IPSI (Ceuta and Melilla) (allowances)
- BR-AG-04 Identifier missing for IPSI (Ceuta and Melilla) (charges)
- BR-AG-05 Negative VAT rate with IPSI (Ceuta and Melilla) (lines)
- BR-AG-06 Negative VAT rate with IPSI (Ceuta and Melilla) (allowances)
- BR-AG-07 Negative VAT rate with IPSI (Ceuta and Melilla) (charges)
- BR-AG-08 Taxable amount for IPSI (Ceuta and Melilla) is wrong
- BR-AG-09 VAT amount for IPSI (Ceuta and Melilla) is wrong
- BR-AG-10 Exemption reason not allowed for IPSI (Ceuta and Melilla)
- BR-E-01 VAT breakdown for VAT exemption missing or duplicated
- BR-E-02 Identifier missing for VAT exemption (lines)
- BR-E-03 Identifier missing for VAT exemption (allowances)
- BR-E-04 Identifier missing for VAT exemption (charges)
- BR-E-05 VAT rate must be 0 for VAT exemption (lines)
- BR-E-06 VAT rate must be 0 for VAT exemption (allowances)
- BR-E-07 VAT rate must be 0 for VAT exemption (charges)
- BR-E-08 Taxable amount for VAT exemption is wrong
- BR-E-09 VAT amount must be 0 for VAT exemption
- BR-E-10 Exemption reason missing for VAT exemption
- BR-G-01 VAT breakdown for export outside the EU missing or duplicated
- BR-G-02 Identifier missing for export outside the EU (lines)
- BR-G-03 Identifier missing for export outside the EU (allowances)
- BR-G-04 Identifier missing for export outside the EU (charges)
- BR-G-05 VAT rate must be 0 for export outside the EU (lines)
- BR-G-06 VAT rate must be 0 for export outside the EU (allowances)
- BR-G-07 VAT rate must be 0 for export outside the EU (charges)
- BR-G-08 Taxable amount for export outside the EU is wrong
- BR-G-09 VAT amount must be 0 for export outside the EU
- BR-G-10 Exemption reason missing for export outside the EU
- BR-IC-01 VAT breakdown for intra-community supply missing or duplicated
- BR-IC-02 Identifier missing for intra-community supply (lines)
- BR-IC-03 Identifier missing for intra-community supply (allowances)
- BR-IC-04 Identifier missing for intra-community supply (charges)
- BR-IC-05 VAT rate must be 0 for intra-community supply (lines)
- BR-IC-06 VAT rate must be 0 for intra-community supply (allowances)
- BR-IC-07 VAT rate must be 0 for intra-community supply (charges)
- BR-IC-08 Taxable amount for intra-community supply is wrong
- BR-IC-09 VAT amount must be 0 for intra-community supply
- BR-IC-10 Exemption reason missing for intra-community supply
- BR-IC-11 Delivery date missing for intra-community supply
- BR-IC-12 Deliver-to country missing for intra-community supply
- BR-O-01 VAT breakdown for not subject to VAT missing or duplicated
- BR-O-02 Identifier not allowed for not subject to VAT (lines)
- BR-O-03 Identifier not allowed for not subject to VAT (allowances)
- BR-O-04 Identifier not allowed for not subject to VAT (charges)
- BR-O-05 No VAT rate allowed for not subject to VAT (lines)
- BR-O-06 No VAT rate allowed for not subject to VAT (allowances)
- BR-O-07 No VAT rate allowed for not subject to VAT (charges)
- BR-O-08 Taxable amount for not subject to VAT is wrong
- BR-O-09 VAT amount must be 0 for not subject to VAT
- BR-O-10 Exemption reason missing for not subject to VAT
- BR-O-11 Not subject to VAT mixed with other categories
- BR-O-12 Not subject to VAT: line with another category
- BR-O-13 Not subject to VAT: allowance with another category
- BR-O-14 Not subject to VAT: charge with another category
- BR-S-01 VAT breakdown for standard rate missing
- BR-S-02 Identifier missing for standard rate (lines)
- BR-S-03 Identifier missing for standard rate (allowances)
- BR-S-04 Identifier missing for standard rate (charges)
- BR-S-05 Zero VAT rate with standard rate (lines)
- BR-S-06 Zero VAT rate with standard rate (allowances)
- BR-S-07 Zero VAT rate with standard rate (charges)
- BR-S-08 Taxable amount for standard rate is wrong
- BR-S-09 VAT amount for standard rate is wrong
- BR-S-10 Exemption reason not allowed for standard rate
- BR-Z-01 VAT breakdown for zero rate missing or duplicated
- BR-Z-02 Identifier missing for zero rate (lines)
- BR-Z-03 Identifier missing for zero rate (allowances)
- BR-Z-04 Identifier missing for zero rate (charges)
- BR-Z-05 VAT rate must be 0 for zero rate (lines)
- BR-Z-06 VAT rate must be 0 for zero rate (allowances)
- BR-Z-07 VAT rate must be 0 for zero rate (charges)
- BR-Z-08 Taxable amount for zero rate is wrong
- BR-Z-09 VAT amount must be 0 for zero rate
- BR-Z-10 Exemption reason not allowed for zero rate
Code lists (BR-CL)
- BR-CL-01 Invoice type code: invalid code
- BR-CL-03 Currency attribute (currencyID): invalid code
- BR-CL-04 Invoice currency code: invalid code
- BR-CL-05 VAT accounting currency code: invalid code
- BR-CL-06 VAT point date code: invalid code
- BR-CL-07 Object identifier scheme: invalid code
- BR-CL-08 Invoice note subject code: invalid code
- BR-CL-10 Identifier scheme: invalid code
- BR-CL-11 Registration identifier scheme: invalid code
- BR-CL-13 Item classification scheme: invalid code
- BR-CL-14 Country code: invalid code
- BR-CL-15 Country code: invalid code
- BR-CL-16 Payment means code: invalid code
- BR-CL-17 VAT category code: invalid code
- BR-CL-18 VAT category code: invalid code
- BR-CL-19 Allowance reason code: invalid code
- BR-CL-20 Charge reason code: invalid code
- BR-CL-21 Item standard identifier scheme: invalid code
- BR-CL-22 VAT exemption reason code: invalid code
- BR-CL-23 Unit of measure code: invalid code
- BR-CL-24 Attachment MIME code: invalid code
- BR-CL-25 Electronic address scheme: invalid code
- BR-CL-26 Delivery location identifier scheme: invalid code
Decimals (BR-DEC)
- BR-DEC-01 Document level allowance amount: more than 2 decimals
- BR-DEC-02 Document level allowance base amount: more than 2 decimals
- BR-DEC-05 Document level charge amount: more than 2 decimals
- BR-DEC-06 Document level charge base amount: more than 2 decimals
- BR-DEC-09 Sum of invoice line net amounts: more than 2 decimals
- BR-DEC-10 Sum of allowances: more than 2 decimals
- BR-DEC-11 Sum of charges: more than 2 decimals
- BR-DEC-12 Invoice total without VAT: more than 2 decimals
- BR-DEC-13 Invoice total VAT: more than 2 decimals
- BR-DEC-14 Invoice total with VAT: more than 2 decimals
- BR-DEC-15 Total VAT in accounting currency: more than 2 decimals
- BR-DEC-16 Paid amount: more than 2 decimals
- BR-DEC-17 Rounding amount: more than 2 decimals
- BR-DEC-18 Amount due for payment: more than 2 decimals
- BR-DEC-19 VAT category taxable amount: more than 2 decimals
- BR-DEC-20 VAT category tax amount: more than 2 decimals
- BR-DEC-23 Invoice line net amount: more than 2 decimals
- BR-DEC-24 Line allowance amount: more than 2 decimals
- BR-DEC-25 Line allowance base amount: more than 2 decimals
- BR-DEC-27 Line charge amount: more than 2 decimals
- BR-DEC-28 Line charge base amount: more than 2 decimals
Peppol rules (PEPPOL-EN16931)
- PEPPOL-EN16931-R001 Business process missing
- PEPPOL-EN16931-R005 VAT currency equals invoice currency
- PEPPOL-EN16931-R008 Document contains empty elements
- PEPPOL-EN16931-R010 Buyer electronic address missing
- PEPPOL-EN16931-R020 Seller electronic address missing
- PEPPOL-EN16931-R040 Allowance/charge amount does not match percentage
- PEPPOL-EN16931-R041 Base amount missing for percentage
- PEPPOL-EN16931-R042 Percentage missing for base amount
- PEPPOL-EN16931-R043 ChargeIndicator is invalid
- PEPPOL-EN16931-R044 Charge on price level not allowed
- PEPPOL-EN16931-R046 Net price does not match gross price minus discount
- PEPPOL-EN16931-R053 More than one tax total in invoice currency
- PEPPOL-EN16931-R054 More than one tax total in VAT currency
- PEPPOL-EN16931-R055 VAT totals with different signs
- PEPPOL-EN16931-R061 Mandate reference missing for direct debit
- PEPPOL-EN16931-R101 Line document reference only as object identifier
- PEPPOL-EN16931-R110 Line period starts outside invoice period
- PEPPOL-EN16931-R111 Line period ends outside invoice period
- PEPPOL-EN16931-R120 Line amount does not match quantity × price(Warning)
- PEPPOL-EN16931-R121 Base quantity not positive
- PEPPOL-EN16931-R130 Base quantity unit differs