E-invoice rule EN 16931
BR-CO-04: Line 1 has no VAT category code (BT-151)
Paste your XML and see if it has this error
The check marks BR-CO-04 and lists every other finding too. It is free and runs in your browser, the file is never uploaded.
Example message from our sample invoice:
Line 1 has no VAT category code (BT-151). Add cac:Item/cac:ClassifiedTaxCategory/cbc:ID, for example S, together with cac:TaxScheme/cbc:ID set to VAT.
What the rule says
[BR-CO-04]-Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151).
Source of the quotation: EN 16931 schematron (ConnectingEurope/eInvoicing-EN16931, licence EUPL 1.2)
Business terms in the wording: BG-25, BT-151
Why the validator reports it
The rule is part of the EN 16931 core. Our checker runs it on every UBL 2.1 invoice and credit note, in the EN 16931, Peppol BIS Billing 3.0 and XRechnung profiles.
Profile: EN 16931, Peppol BIS Billing 3.0, XRechnung 3.x
How we rate it: error
UBL elements: cac:Item/cac:ClassifiedTaxCategory/cbc:ID, cac:TaxScheme/cbc:ID
Where we point in the file: /Invoice/cac:InvoiceLine[1]
How to fix it
- Open the XML file and find the element
cac:Item/cac:ClassifiedTaxCategory/cbc:ID. - Add or correct the value the way the wording of the rule above asks for.
- Save the file and check it again. The checker runs in your browser, the file is never uploaded.
A correct UBL 2.1 snippet
<cac:Item
xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
</cac:ClassifiedTaxCategory>
</cac:Item>
The snippet is only the part of the document the rule is about, and the values in it are made up. Put it in the right place inside your invoice; the namespaces are written here only so that the snippet reads on its own.
Check the whole file
The checker holds 332 rules. For each file it runs the ones that match the invoice profile and shows the rule code, a plain sentence and the path to the element for every finding. The file is read in your browser and never uploaded. Free, no account.
Related rules
Same business term (BT-151)
- BR-AE-01 The document uses VAT category AE (VAT reverse charge), so the VAT…
- BR-AE-02 With VAT category AE (VAT reverse charge) the invoice has to carry the…
- BR-AE-05 Line 1 has VAT category AE (VAT reverse charge), so the VAT rate has to…
- BR-AE-08 The taxable amount for VAT category AE (VAT reverse charge) should be…
Same group (BR-CO)
- BR-CO-03 The value added tax point date (BT-7, cbc:TaxPointDate) and its code…
- BR-CO-09 A VAT identifier has to start with a country code from ISO 3166-1 alpha-2…
- BR-CO-10 Correct the total or the line amounts
- BR-CO-11 The allowance total does not add up: cbc:AllowanceTotalAmount (BT-107) is…
All rules in the group BR-CO (20)
What our tool does about this error
The checker finds BR-CO-04 in your file and shows where it sits in the XML. If you build the invoice in our generator, the finished XML runs through the same checker before the download and will not download while an error remains.
The checker and the preview cost 0 € and need no account. Downloading the finished XML costs 2.90 € excl. VAT, unlocked in the browser for 24 hours, or 9.90 € excl. VAT for 30 days including the CSV batch.
This page in another language: Deutsch · Slovensky · Česky
Our check is not complete: we do not check the XSD schema and we do not implement every rule, and a file that passes says nothing about whether the buyer or the Peppol network will accept it. The source of each quoted wording is given next to the quotation.
Page content last changed: