EN 16931 business rules
The rules of the European e-invoicing standard, as CEN/TC 434 publishes them in its validation artefacts: the same files the KoSIT validator, Peppol access points and our own validator run on every UBL and CII invoice. Each rule below links to its page: the message validators print, what the rule checks, why invoices fail it, how to fix it, and a failing invoice with its fix, both checked by our validator.
- 223 rules from CEN validation artefacts 1.3.16, published by CEN/TC 434.
- 219 with their own explanation and a checked example (in bold); the other pages show the published text and test, and are not indexed.
Mandatory content and conditions (BR-01 … BR-65)
What every invoice must carry: numbers, dates, parties, totals, lines, and the conditions on optional groups.
| Rule | Severity | Message |
|---|---|---|
| [BR-01](/einvoice-rules/br-01) | error | An Invoice shall have a Specification identifier (BT-24). |
| [BR-02](/einvoice-rules/br-02) | error | An Invoice shall have an Invoice number (BT-1). |
| [BR-03](/einvoice-rules/br-03) | error | An Invoice shall have an Invoice issue date (BT-2). |
| [BR-04](/einvoice-rules/br-04) | error | An Invoice shall have an Invoice type code (BT-3). |
| [BR-05](/einvoice-rules/br-05) | error | An Invoice shall have an Invoice currency code (BT-5). |
| [BR-06](/einvoice-rules/br-06) | error | An Invoice shall contain the Seller name (BT-27). |
| [BR-07](/einvoice-rules/br-07) | error | An Invoice shall contain the Buyer name (BT-44). |
| [BR-08](/einvoice-rules/br-08) | error | An Invoice shall contain the Seller postal address. |
| [BR-09](/einvoice-rules/br-09) | error | The Seller postal address (BG-5) shall contain a Seller country code (BT-40). |
| [BR-10](/einvoice-rules/br-10) | error | An Invoice shall contain the Buyer postal address (BG-8). |
| [BR-11](/einvoice-rules/br-11) | error | The Buyer postal address shall contain a Buyer country code (BT-55). |
| [BR-12](/einvoice-rules/br-12) | error | An Invoice shall have the Sum of Invoice line net amount (BT-106). |
| [BR-13](/einvoice-rules/br-13) | error | An Invoice shall have the Invoice total amount without VAT (BT-109). |
| [BR-14](/einvoice-rules/br-14) | error | An Invoice shall have the Invoice total amount with VAT (BT-112). |
| [BR-15](/einvoice-rules/br-15) | error | An Invoice shall have the Amount due for payment (BT-115). |
| [BR-16](/einvoice-rules/br-16) | error | An Invoice shall have at least one Invoice line (BG-25) |
| [BR-17](/einvoice-rules/br-17) | error | The Payee name (BT-59) shall be provided in the Invoice, if the Payee (BG-10) is different from the Seller (BG-4) |
| [BR-18](/einvoice-rules/br-18) | error | The Seller tax representative name (BT-62) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11) |
| [BR-19](/einvoice-rules/br-19) | error | The Seller tax representative postal address (BG-12) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11). |
| [BR-20](/einvoice-rules/br-20) | error | The Seller tax representative postal address (BG-12) shall contain a Tax representative country code (BT-69), if the Seller (BG-4) has a Seller tax… |
| [BR-21](/einvoice-rules/br-21) | error | Each Invoice line (BG-25) shall have an Invoice line identifier (BT-126). |
| [BR-22](/einvoice-rules/br-22) | error | Each Invoice line (BG-25) shall have an Invoiced quantity (BT-129). |
| [BR-23](/einvoice-rules/br-23) | error | An Invoice line (BG-25) shall have an Invoiced quantity unit of measure code (BT-130). |
| [BR-24](/einvoice-rules/br-24) | error | Each Invoice line (BG-25) shall have an Invoice line net amount (BT-131). |
| [BR-25](/einvoice-rules/br-25) | error | Each Invoice line (BG-25) shall contain the Item name (BT-153). |
| [BR-26](/einvoice-rules/br-26) | error | Each Invoice line (BG-25) shall contain the Item net price (BT-146). |
| [BR-27](/einvoice-rules/br-27) | error | The Item net price (BT-146) shall NOT be negative. |
| [BR-28](/einvoice-rules/br-28) | error | The Item gross price (BT-148) shall NOT be negative. |
| [BR-29](/einvoice-rules/br-29) | error | If both Invoicing period start date (BT-73) and Invoicing period end date (BT-74) are given then the Invoicing period end date (BT-74) shall be later or equal… |
| [BR-30](/einvoice-rules/br-30) | error | If both Invoice line period start date (BT-134) and Invoice line period end date (BT-135) are given then the Invoice line period end date (BT-135) shall be… |
| [BR-31](/einvoice-rules/br-31) | error | Each Document level allowance (BG-20) shall have a Document level allowance amount (BT-92). |
| [BR-32](/einvoice-rules/br-32) | error | Each Document level allowance (BG-20) shall have a Document level allowance VAT category code (BT-95). |
| [BR-33](/einvoice-rules/br-33) | error | Each Document level allowance (BG-20) shall have a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98). |
| [BR-36](/einvoice-rules/br-36) | error | Each Document level charge (BG-21) shall have a Document level charge amount (BT-99). |
| [BR-37](/einvoice-rules/br-37) | error | Each Document level charge (BG-21) shall have a Document level charge VAT category code (BT-102). |
| [BR-38](/einvoice-rules/br-38) | error | Each Document level charge (BG-21) shall have a Document level charge reason (BT-104) or a Document level charge reason code (BT-105). |
| [BR-41](/einvoice-rules/br-41) | error | Each Invoice line allowance (BG-27) shall have an Invoice line allowance amount (BT-136). |
| [BR-42](/einvoice-rules/br-42) | error | Each Invoice line allowance (BG-27) shall have an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140). |
| [BR-43](/einvoice-rules/br-43) | error | Each Invoice line charge (BG-28) shall have an Invoice line charge amount (BT-141). |
| [BR-44](/einvoice-rules/br-44) | error | Each Invoice line charge shall have an Invoice line charge reason or an invoice line allowance reason code. |
| [BR-45](/einvoice-rules/br-45) | error | Each VAT breakdown (BG-23) shall have a VAT category taxable amount (BT-116). |
| [BR-46](/einvoice-rules/br-46) | error | Each VAT breakdown (BG-23) shall have a VAT category tax amount (BT-117). |
| [BR-47](/einvoice-rules/br-47) | error | Each VAT breakdown (BG-23) shall be defined through a VAT category code (BT-118). |
| [BR-48](/einvoice-rules/br-48) | error | Each VAT breakdown (BG-23) shall have a VAT category rate (BT-119), except if the Invoice is not subject to VAT. |
| [BR-49](/einvoice-rules/br-49) | error | A Payment instruction (BG-16) shall specify the Payment means type code (BT-81). |
| [BR-50](/einvoice-rules/br-50) | error | A Payment account identifier (BT-84) shall be present if Credit transfer (BG-17) information is provided in the Invoice. |
| [BR-51](/einvoice-rules/br-51) | warning (UBL), error (CII) | In accordance with card payments security standards an invoice should never include a full card primary account number (BT-87). At the moment PCI Security… |
| [BR-52](/einvoice-rules/br-52) | error | Each Additional supporting document (BG-24) shall contain a Supporting document reference (BT-122). |
| [BR-53](/einvoice-rules/br-53) | error | If the VAT accounting currency code (BT-6) is present, then the Invoice total VAT amount in accounting currency (BT-111) shall be provided. |
| [BR-54](/einvoice-rules/br-54) | error | Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item attribute value (BT-161). |
| [BR-55](/einvoice-rules/br-55) | error | Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25). |
| [BR-56](/einvoice-rules/br-56) | error | Each Seller tax representative party (BG-11) shall have a Seller tax representative VAT identifier (BT-63). |
| [BR-57](/einvoice-rules/br-57) | error | Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80). |
| [BR-61](/einvoice-rules/br-61) | error | If the Payment means type code (BT-81) means SEPA credit transfer, Local credit transfer or Non-SEPA international credit transfer, the Payment account… |
| [BR-62](/einvoice-rules/br-62) | error | The Seller electronic address (BT-34) shall have a Scheme identifier. |
| [BR-63](/einvoice-rules/br-63) | error | The Buyer electronic address (BT-49) shall have a Scheme identifier. |
| [BR-64](/einvoice-rules/br-64) | error | The Item standard identifier (BT-157) shall have a Scheme identifier. |
| [BR-65](/einvoice-rules/br-65) | error | The Item classification identifier (BT-158) shall have a Scheme identifier. |
Calculations and consistency (BR-CO)
The arithmetic of the totals and the VAT breakdown, and the rules that tie two fields together.
| Rule | Severity | Message |
|---|---|---|
| [BR-CO-03](/einvoice-rules/br-co-03) | error | Value added tax point date (BT-7) and Value added tax point date code (BT-8) are mutually exclusive. |
| [BR-CO-04](/einvoice-rules/br-co-04) | error | Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151). |
| BR-CO-05 | error | Document level allowance reason code (BT-98) and Document level allowance reason (BT-97) shall indicate the same type of allowance. |
| BR-CO-06 | error | Document level charge reason code (BT-105) and Document level charge reason (BT-104) shall indicate the same type of charge. |
| BR-CO-07 | error | Invoice line allowance reason code (BT-140) and Invoice line allowance reason (BT-139) shall indicate the same type of allowance reason. |
| BR-CO-08 | error | Invoice line charge reason code (BT-145) and Invoice line charge reason (BT-144) shall indicate the same type of charge reason. |
| [BR-CO-09](/einvoice-rules/br-co-09) | error | The Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) shall have a prefix in accordance… |
| [BR-CO-10](/einvoice-rules/br-co-10) | error | Sum of Invoice line net amount (BT-106) = Σ Invoice line net amount (BT-131). |
| [BR-CO-11](/einvoice-rules/br-co-11) | error | Sum of allowances on document level (BT-107) = Σ Document level allowance amount (BT-92). |
| [BR-CO-12](/einvoice-rules/br-co-12) | error | Sum of charges on document level (BT-108) = Σ Document level charge amount (BT-99). |
| [BR-CO-13](/einvoice-rules/br-co-13) | error | Invoice total amount without VAT (BT-109) = Σ Invoice line net amount (BT-131) - Sum of allowances on document level (BT-107) + Sum of charges on document… |
| [BR-CO-14](/einvoice-rules/br-co-14) | error | Invoice total VAT amount (BT-110) = Σ VAT category tax amount (BT-117). |
| [BR-CO-15](/einvoice-rules/br-co-15) | error | Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110). |
| [BR-CO-16](/einvoice-rules/br-co-16) | error | Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Paid amount (BT-113) +Rounding amount (BT-114). |
| [BR-CO-17](/einvoice-rules/br-co-17) | error | VAT category tax amount (BT-117) = VAT category taxable amount (BT-116) x (VAT category rate (BT-119) / 100), rounded to two decimals. |
| [BR-CO-18](/einvoice-rules/br-co-18) | error | An Invoice shall at least have one VAT breakdown group (BG-23). |
| [BR-CO-19](/einvoice-rules/br-co-19) | error | If Invoicing period (BG-14) is used, the Invoicing period start date (BT-73) or the Invoicing period end date (BT-74) shall be filled, or both. |
| [BR-CO-20](/einvoice-rules/br-co-20) | error | If Invoice line period (BG-26) is used, the Invoice line period start date (BT-134) or the Invoice line period end date (BT-135) shall be filled, or both. |
| [BR-CO-21](/einvoice-rules/br-co-21) | error | Each Document level allowance (BG-20) shall contain a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98), or both. |
| [BR-CO-22](/einvoice-rules/br-co-22) | error | Each Document level charge (BG-21) shall contain a Document level charge reason (BT-104) or a Document level charge reason code (BT-105), or both. |
| [BR-CO-23](/einvoice-rules/br-co-23) | error | Each Invoice line allowance (BG-27) shall contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both. |
| [BR-CO-24](/einvoice-rules/br-co-24) | error | Each Invoice line charge (BG-28) shall contain an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145), or both. |
| [BR-CO-26](/einvoice-rules/br-co-26) | error | In order for the buyer to automatically identify a supplier, the Seller identifier (BT-29), the Seller legal registration identifier (BT-30) and/or the Seller… |
VAT categories (BR-S, Z, E, AE, IC, G, O, AF, AG, B)
Ten checks per VAT category: the breakdown, the identifiers, the rates, the amounts, the exemption reason.
| Rule | Severity | Message |
|---|---|---|
| [BR-AE-01](/einvoice-rules/br-ae-01) | error | An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151… |
| [BR-AE-02](/einvoice-rules/br-ae-02) | error | An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Reverse charge" shall contain the Seller VAT… |
| [BR-AE-03](/einvoice-rules/br-ae-03) | error | An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Reverse charge" shall contain the… |
| [BR-AE-04](/einvoice-rules/br-ae-04) | error | An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Reverse charge" shall contain the… |
| [BR-AE-05](/einvoice-rules/br-ae-05) | error | In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Reverse charge" the Invoiced item VAT rate (BT-152) shall be 0 (zero). |
| [BR-AE-06](/einvoice-rules/br-ae-06) | error | In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Reverse charge" the Document level allowance VAT rate… |
| [BR-AE-07](/einvoice-rules/br-ae-07) | error | In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Reverse charge" the Document level charge VAT rate (BT-103)… |
| [BR-AE-08](/einvoice-rules/br-ae-08) | error | In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Reverse charge" the VAT category taxable amount (BT-116) shall equal the sum of Invoice… |
| [BR-AE-09](/einvoice-rules/br-ae-09) | error | The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Reverse charge" shall be 0 (zero). |
| [BR-AE-10](/einvoice-rules/br-ae-10) | error | A VAT breakdown (BG-23) with VAT Category code (BT-118) "Reverse charge" shall have a VAT exemption reason code (BT-121), meaning "Reverse charge" or the VAT… |
| [BR-AF-01](/einvoice-rules/br-af-01) | error | An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151… |
| [BR-AF-02](/einvoice-rules/br-af-02) | error | An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC" shall contain the Seller VAT Identifier (BT-31)… |
| [BR-AF-03](/einvoice-rules/br-af-03) | error | An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" shall contain the Seller… |
| [BR-AF-04](/einvoice-rules/br-af-04) | error | An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IGIC" shall contain the Seller VAT… |
| [BR-AF-05](/einvoice-rules/br-af-05) | error | In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC" the invoiced item VAT rate (BT-152) shall be 0 (zero) or greater than… |
| [BR-AF-06](/einvoice-rules/br-af-06) | error | In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" the Document level allowance VAT rate (BT-96)… |
| [BR-AF-07](/einvoice-rules/br-af-07) | error | In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IGIC" the Document level charge VAT rate (BT-103) shall be 0… |
| [BR-AF-08](/einvoice-rules/br-af-08) | error | For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IGIC", the VAT category taxable amount (BT-116) in a VAT… |
| [BR-AF-09](/einvoice-rules/br-af-09) | error | The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IGIC" shall equal the VAT category taxable amount… |
| [BR-AF-10](/einvoice-rules/br-af-10) | error | A VAT breakdown (BG-23) with VAT Category code (BT-118) "IGIC" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). |
| [BR-AG-01](/einvoice-rules/br-ag-01) | error | An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151… |
| [BR-AG-02](/einvoice-rules/br-ag-02) | error | An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" shall contain the Seller VAT Identifier (BT-31)… |
| [BR-AG-03](/einvoice-rules/br-ag-03) | error | An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IPSI" shall contain the Seller… |
| [BR-AG-04](/einvoice-rules/br-ag-04) | error | An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IPSI" shall contain the Seller VAT… |
| [BR-AG-05](/einvoice-rules/br-ag-05) | error | In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" the Invoiced item VAT rate (BT-152) shall be 0 (zero) or greater than… |
| [BR-AG-06](/einvoice-rules/br-ag-06) | error | In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IPSI" the Document level allowance VAT rate (BT-96)… |
| [BR-AG-07](/einvoice-rules/br-ag-07) | error | In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IPSI" the Document level charge VAT rate (BT-103) shall be 0… |
| [BR-AG-08](/einvoice-rules/br-ag-08) | error | For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IPSI", the VAT category taxable amount (BT-116) in a VAT… |
| [BR-AG-09](/einvoice-rules/br-ag-09) | error | The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IPSI" shall equal the VAT category taxable amount… |
| [BR-AG-10](/einvoice-rules/br-ag-10) | error | A VAT breakdown (BG-23) with VAT Category code (BT-118) "IPSI" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). |
| [BR-B-01](/einvoice-rules/br-b-01) | error | An Invoice where the VAT category code (BT-151, BT-95 or BT-102) is “Split payment” shall be a domestic Italian invoice. |
| [BR-B-02](/einvoice-rules/br-b-02) | error | An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151… |
| [BR-E-01](/einvoice-rules/br-e-01) | error | An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151… |
| [BR-E-02](/einvoice-rules/br-e-02) | error | An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Exempt from VAT" shall contain the Seller VAT… |
| [BR-E-03](/einvoice-rules/br-e-03) | error | An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Exempt from VAT" shall contain… |
| [BR-E-04](/einvoice-rules/br-e-04) | error | An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Exempt from VAT" shall contain the… |
| [BR-E-05](/einvoice-rules/br-e-05) | error | In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Exempt from VAT", the Invoiced item VAT rate (BT-152) shall be 0 (zero). |
| [BR-E-06](/einvoice-rules/br-e-06) | error | In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Exempt from VAT", the Document level allowance VAT rate… |
| [BR-E-07](/einvoice-rules/br-e-07) | error | In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Exempt from VAT", the Document level charge VAT rate… |
| [BR-E-08](/einvoice-rules/br-e-08) | error | In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Exempt from VAT" the VAT category taxable amount (BT-116) shall equal the sum of Invoice… |
| [BR-E-09](/einvoice-rules/br-e-09) | error | The VAT category tax amount (BT-117) In a VAT breakdown (BG-23) where the VAT category code (BT-118) equals "Exempt from VAT" shall equal 0 (zero). |
| [BR-E-10](/einvoice-rules/br-e-10) | error | A VAT breakdown (BG-23) with VAT Category code (BT-118) "Exempt from VAT" shall have a VAT exemption reason code (BT-121) or a VAT exemption reason text… |
| [BR-G-01](/einvoice-rules/br-g-01) | error | An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151… |
| [BR-G-02](/einvoice-rules/br-g-02) | error | An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Export outside the EU" shall contain the Seller VAT… |
| [BR-G-03](/einvoice-rules/br-g-03) | error | An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Export outside the EU" shall… |
| [BR-G-04](/einvoice-rules/br-g-04) | error | An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Export outside the EU" shall contain… |
| [BR-G-05](/einvoice-rules/br-g-05) | error | In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Export outside the EU" the Invoiced item VAT rate (BT-152) shall be 0 (zero). |
| [BR-G-06](/einvoice-rules/br-g-06) | error | In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Export outside the EU" the Document level allowance VAT… |
| [BR-G-07](/einvoice-rules/br-g-07) | error | In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Export outside the EU" the Document level charge VAT rate… |
| [BR-G-08](/einvoice-rules/br-g-08) | error | In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Export outside the EU" the VAT category taxable amount (BT-116) shall equal the sum of… |
| [BR-G-09](/einvoice-rules/br-g-09) | error | The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Export outside the EU" shall be 0 (zero). |
| [BR-G-10](/einvoice-rules/br-g-10) | error | A VAT breakdown (BG-23) with the VAT Category code (BT-118) "Export outside the EU" shall have a VAT exemption reason code (BT-121), meaning "Export outside… |
| [BR-IC-01](/einvoice-rules/br-ic-01) | error | An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151… |
| [BR-IC-02](/einvoice-rules/br-ic-02) | error | An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Intra-community supply" shall contain the Seller VAT… |
| [BR-IC-03](/einvoice-rules/br-ic-03) | error | An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Intra-community supply" shall… |
| [BR-IC-04](/einvoice-rules/br-ic-04) | error | An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Intra-community supply" shall contain… |
| [BR-IC-05](/einvoice-rules/br-ic-05) | error | In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Intracommunity supply" the Invoiced item VAT rate (BT-152) shall be 0 (zero). |
| [BR-IC-06](/einvoice-rules/br-ic-06) | error | In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Intra-community supply" the Document level allowance… |
| [BR-IC-07](/einvoice-rules/br-ic-07) | error | In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Intra-community supply" the Document level charge VAT rate… |
| [BR-IC-08](/einvoice-rules/br-ic-08) | error | In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the VAT category taxable amount (BT-116) shall equal the sum of… |
| [BR-IC-09](/einvoice-rules/br-ic-09) | error | The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" shall be 0 (zero). |
| [BR-IC-10](/einvoice-rules/br-ic-10) | error | A VAT breakdown (BG-23) with the VAT Category code (BT-118) "Intra-community supply" shall have a VAT exemption reason code (BT-121), meaning "Intra-community… |
| [BR-IC-11](/einvoice-rules/br-ic-11) | error | In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Actual delivery date (BT-72) or the Invoicing… |
| [BR-IC-12](/einvoice-rules/br-ic-12) | error | In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Deliver to country code (BT-80) shall not be… |
| [BR-O-01](/einvoice-rules/br-o-01) | error | An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151… |
| [BR-O-02](/einvoice-rules/br-o-02) | error | An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Not subject to VAT" shall not contain the Seller VAT… |
| [BR-O-03](/einvoice-rules/br-o-03) | error | An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Not subject to VAT" shall not… |
| [BR-O-04](/einvoice-rules/br-o-04) | error | An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Not subject to VAT" shall not contain… |
| [BR-O-05](/einvoice-rules/br-o-05) | error | An Invoice line (BG-25) where the VAT category code (BT-151) is "Not subject to VAT" shall not contain an Invoiced item VAT rate (BT-152). |
| [BR-O-06](/einvoice-rules/br-o-06) | error | A Document level allowance (BG-20) where VAT category code (BT-95) is "Not subject to VAT" shall not contain a Document level allowance VAT rate (BT-96). |
| [BR-O-07](/einvoice-rules/br-o-07) | error | A Document level charge (BG-21) where the VAT category code (BT-102) is "Not subject to VAT" shall not contain a Document level charge VAT rate (BT-103). |
| [BR-O-08](/einvoice-rules/br-o-08) | error | In a VAT breakdown (BG-23) where the VAT category code (BT-118) is " Not subject to VAT" the VAT category taxable amount (BT-116) shall equal the sum of… |
| [BR-O-09](/einvoice-rules/br-o-09) | error | The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Not subject to VAT" shall be 0 (zero). |
| [BR-O-10](/einvoice-rules/br-o-10) | error | A VAT breakdown (BG-23) with VAT Category code (BT-118) " Not subject to VAT" shall have a VAT exemption reason code (BT-121), meaning " Not subject to VAT"… |
| [BR-O-11](/einvoice-rules/br-o-11) | error | An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain other VAT breakdown groups… |
| [BR-O-12](/einvoice-rules/br-o-12) | error | An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain an Invoice line (BG-25) where… |
| [BR-O-13](/einvoice-rules/br-o-13) | error | An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level allowances… |
| [BR-O-14](/einvoice-rules/br-o-14) | error | An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level charges (BG-21)… |
| [BR-S-01](/einvoice-rules/br-s-01) | error | An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151… |
| [BR-S-02](/einvoice-rules/br-s-02) | error | An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Standard rated" shall contain the Seller VAT… |
| [BR-S-03](/einvoice-rules/br-s-03) | error | An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Standard rated" shall contain the… |
| [BR-S-04](/einvoice-rules/br-s-04) | error | An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Standard rated" shall contain the… |
| [BR-S-05](/einvoice-rules/br-s-05) | error | In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Standard rated" the Invoiced item VAT rate (BT-152) shall be greater than… |
| [BR-S-06](/einvoice-rules/br-s-06) | error | In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Standard rated" the Document level allowance VAT rate… |
| [BR-S-07](/einvoice-rules/br-s-07) | error | In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Standard rated" the Document level charge VAT rate (BT-103)… |
| [BR-S-08](/einvoice-rules/br-s-08) | error | For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "Standard rated", the VAT category taxable amount (BT-116) in a… |
| [BR-S-09](/einvoice-rules/br-s-09) | error | The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Standard rated" shall equal the VAT category taxable… |
| [BR-S-10](/einvoice-rules/br-s-10) | error | A VAT breakdown (BG-23) with VAT Category code (BT-118) "Standard rate" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text… |
| [BR-Z-01](/einvoice-rules/br-z-01) | error | An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151… |
| [BR-Z-02](/einvoice-rules/br-z-02) | error | An Invoice that contains an Invoice line where the Invoiced item VAT category code (BT-151) is "Zero rated" shall contain the Seller VAT Identifier (BT-31)… |
| [BR-Z-03](/einvoice-rules/br-z-03) | error | An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Zero rated" shall contain the… |
| [BR-Z-04](/einvoice-rules/br-z-04) | error | An Invoice that contains a Document level charge where the Document level charge VAT category code (BT-102) is "Zero rated" shall contain the Seller VAT… |
| [BR-Z-05](/einvoice-rules/br-z-05) | error | In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Zero rated" the Invoiced item VAT rate (BT-152) shall be 0 (zero). |
| [BR-Z-06](/einvoice-rules/br-z-06) | error | In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Zero rated" the Document level allowance VAT rate… |
| [BR-Z-07](/einvoice-rules/br-z-07) | error | In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Zero rated" the Document level charge VAT rate (BT-103)… |
| [BR-Z-08](/einvoice-rules/br-z-08) | error | In a VAT breakdown (BG-23) where VAT category code (BT-118) is "Zero rated" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net… |
| [BR-Z-09](/einvoice-rules/br-z-09) | error | The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Zero rated" shall equal 0 (zero). |
| [BR-Z-10](/einvoice-rules/br-z-10) | error | A VAT breakdown (BG-23) with VAT Category code (BT-118) "Zero rated" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). |
Code lists (BR-CL)
Which code list each coded field must use: UNTDID, ISO, EAS, VATEX, UN/ECE Recommendation 20.
| Rule | Severity | Message |
|---|---|---|
| [BR-CL-01](/einvoice-rules/br-cl-01) | error | The document type code MUST be coded by the invoice and credit note related code lists of UNTDID 1001. |
| [BR-CL-03](/einvoice-rules/br-cl-03) | error | currencyID MUST be coded using ISO code list 4217 alpha-3 |
| [BR-CL-04](/einvoice-rules/br-cl-04) | error | Invoice currency code MUST be coded using ISO code list 4217 alpha-3 |
| [BR-CL-05](/einvoice-rules/br-cl-05) | error | Tax currency code MUST be coded using ISO code list 4217 alpha-3 |
| [BR-CL-06](/einvoice-rules/br-cl-06) | error | Value added tax point date code MUST be coded using a restriction of UNTDID 2005. |
| [BR-CL-07](/einvoice-rules/br-cl-07) | error | Object identifier identification scheme identifier MUST be coded using a restriction of UNTDID 1153. |
| [BR-CL-08](/einvoice-rules/br-cl-08) | error | Invoiced note subject code shall be coded using UNCL4451 |
| [BR-CL-10](/einvoice-rules/br-cl-10) | error | Any identifier identification scheme identifier MUST be coded using one of the ISO 6523 ICD list. |
| [BR-CL-11](/einvoice-rules/br-cl-11) | error | Any registration identifier identification scheme identifier MUST be coded using one of the ISO 6523 ICD list. |
| [BR-CL-13](/einvoice-rules/br-cl-13) | error | Item classification identifier identification scheme identifier MUST be coded using one of the UNTDID 7143 list. |
| [BR-CL-14](/einvoice-rules/br-cl-14) | error | Country codes in an invoice MUST be coded using ISO code list 3166-1 |
| [BR-CL-15](/einvoice-rules/br-cl-15) | error | Country codes in an invoice MUST be coded using ISO code list 3166-1 |
| [BR-CL-16](/einvoice-rules/br-cl-16) | error | Payment means in an invoice MUST be coded using UNCL4461 code list |
| [BR-CL-17](/einvoice-rules/br-cl-17) | error | Invoice tax categories MUST be coded using UNCL5305 code list |
| [BR-CL-18](/einvoice-rules/br-cl-18) | error | Invoice tax categories MUST be coded using UNCL5305 code list |
| [BR-CL-19](/einvoice-rules/br-cl-19) | error | Coded allowance reasons MUST belong to the UNCL 5189 code list |
| [BR-CL-20](/einvoice-rules/br-cl-20) | error | Coded charge reasons MUST belong to the UNCL 7161 code list |
| [BR-CL-21](/einvoice-rules/br-cl-21) | error | Item standard identifier scheme identifier MUST belong to the ISO 6523 ICD code list |
| [BR-CL-22](/einvoice-rules/br-cl-22) | error | Tax exemption reason code identifier scheme identifier MUST belong to the CEF VATEX code list |
| [BR-CL-23](/einvoice-rules/br-cl-23) | error | Unit code MUST be coded according to the UN/ECE Recommendation 20 with Rec 21 extension |
| [BR-CL-24](/einvoice-rules/br-cl-24) | error | For Mime code in attribute use MIMEMediaType. |
| [BR-CL-25](/einvoice-rules/br-cl-25) | error | Endpoint identifier scheme identifier MUST belong to the CEF EAS code list |
| [BR-CL-26](/einvoice-rules/br-cl-26) | error | Delivery location identifier scheme identifier MUST belong to the ISO 6523 ICD code list |
Decimals (BR-DEC)
The amounts that may carry at most two decimals.
| Rule | Severity | Message |
|---|---|---|
| [BR-DEC-01](/einvoice-rules/br-dec-01) | error | The allowed maximum number of decimals for the Document level allowance amount (BT-92) is 2. |
| [BR-DEC-02](/einvoice-rules/br-dec-02) | error | The allowed maximum number of decimals for the Document level allowance base amount (BT-93) is 2. |
| [BR-DEC-05](/einvoice-rules/br-dec-05) | error | The allowed maximum number of decimals for the Document level charge amount (BT-99) is 2. |
| [BR-DEC-06](/einvoice-rules/br-dec-06) | error | The allowed maximum number of decimals for the Document level charge base amount (BT-100) is 2. |
| [BR-DEC-09](/einvoice-rules/br-dec-09) | error | The allowed maximum number of decimals for the Sum of Invoice line net amount (BT-106) is 2. |
| [BR-DEC-10](/einvoice-rules/br-dec-10) | error | The allowed maximum number of decimals for the Sum of allowanced on document level (BT-107) is 2. |
| [BR-DEC-11](/einvoice-rules/br-dec-11) | error | The allowed maximum number of decimals for the Sum of charges on document level (BT-108) is 2. |
| [BR-DEC-12](/einvoice-rules/br-dec-12) | error | The allowed maximum number of decimals for the Invoice total amount without VAT (BT-109) is 2. |
| [BR-DEC-13](/einvoice-rules/br-dec-13) | error | The allowed maximum number of decimals for the Invoice total VAT amount (BT-110) is 2. |
| [BR-DEC-14](/einvoice-rules/br-dec-14) | error | The allowed maximum number of decimals for the Invoice total amount with VAT (BT-112) is 2. |
| [BR-DEC-15](/einvoice-rules/br-dec-15) | error | The allowed maximum number of decimals for the Invoice total VAT amount in accounting currency (BT-111) is 2. |
| [BR-DEC-16](/einvoice-rules/br-dec-16) | error | The allowed maximum number of decimals for the Paid amount (BT-113) is 2. |
| [BR-DEC-17](/einvoice-rules/br-dec-17) | error | The allowed maximum number of decimals for the Rounding amount (BT-114) is 2. |
| [BR-DEC-18](/einvoice-rules/br-dec-18) | error | The allowed maximum number of decimals for the Amount due for payment (BT-115) is 2. |
| [BR-DEC-19](/einvoice-rules/br-dec-19) | error | The allowed maximum number of decimals for the VAT category taxable amount (BT-116) is 2. |
| [BR-DEC-20](/einvoice-rules/br-dec-20) | error | The allowed maximum number of decimals for the VAT category tax amount (BT-117) is 2. |
| [BR-DEC-23](/einvoice-rules/br-dec-23) | error | The allowed maximum number of decimals for the Invoice line net amount (BT-131) is 2. |
| [BR-DEC-24](/einvoice-rules/br-dec-24) | error | The allowed maximum number of decimals for the Invoice line allowance amount (BT-136) is 2. |
| [BR-DEC-25](/einvoice-rules/br-dec-25) | error | The allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2. |
| [BR-DEC-27](/einvoice-rules/br-dec-27) | error | The allowed maximum number of decimals for the Invoice line charge amount (BT-141) is 2. |
| [BR-DEC-28](/einvoice-rules/br-dec-28) | error | The allowed maximum number of decimals for the Invoice line charge base amount (BT-142) is 2. |
Sources
- EN 16931 validation artefacts 1.3.16 (UBL and CII schematron, the business rules BR-*) — CEN/TC 434, published with the European Commission (Connecting Europe), consulted 2026-10-28
- EN 16931 validation artefacts: licence, European Union Public Licence (EUPL) v1.2 (LICENSE.txt, the README « License » section and the release notes of validation-1.3.16) — European Commission (Connecting Europe), for CEN/TC 434, consulted 2026-11-17. The EUPL permits reproduction and communication to the public, with the licence, the copyright notices and the disclaimer kept; a modified copy must say so. The rule library quotes the rule ids and messages of the BR-*, UBL-* and CII-* rules unmodified, credits the artefacts and links the licence.