BR-DE-16 XRechnung requires that, when the tax codes S, Z, E, AE, K, G, L or M are used, at least one of the seller VAT identifier (BT-31), the seller tax registration identifier (BT-32) or a seller tax representative party (BG-11) is present
XRechnung requires that, when the tax codes S, Z, E, AE, K, G, L or M are used, at least one of the seller VAT identifier (BT-31), the seller tax registration identifier (BT-32) or a seller tax representative party (BG-11) is present. This is stricter than core EN 16931, which only imposes it per category.
This rule is implemented and its error payload below is real, but the long-form write-up — normative text, worked example, divergence note — is not written yet. Everything the library knows about this rule is on this page. Ask and we will prioritise it.
- Business term
BT-31 / BT-32- Severity
fatal
What the library returns
The exact object in result.errors when this rule fires.
Generated by running @attestwire/en16931, not transcribed:
{
"rule": "BR-DE-16",
"field": [
"BT-31",
"BT-32"
],
"severity": "fatal",
"message": "XRechnung requires that, when the tax codes S, Z, E, AE, K, G, L or M are used, at least one of the seller VAT identifier (BT-31), the seller tax registration identifier (BT-32) or a seller tax representative party (BG-11) is present. This is stricter than core EN 16931, which only imposes it per category.",
"fix": "Set seller.vatId (Umsatzsteuer-Identifikationsnummer, e.g. \"DE123456789\") or seller.taxRegistrationId (Steuernummer, e.g. \"181/815/08155\").",
"example": "\"seller\": { \"vatId\": \"DE123456789\" }",
"docsUrl": "https://attestwire.com/rules/BR-DE-16"
}A passing value
"seller": { "vatId": "DE123456789" }The fix
Set seller.vatId (Umsatzsteuer-Identifikationsnummer, e.g. "DE123456789") or seller.taxRegistrationId (Steuernummer, e.g. "181/815/08155").