Rule reference

BR-CO-26 In order for the buyer to automatically identify you, the invoice must carry at least one of the seller identifier (BT-29), seller legal registration identifier (BT-30) or seller VAT identifier (BT-31)

In order for the buyer to automatically identify you, the invoice must carry at least one of the seller identifier (BT-29), seller legal registration identifier (BT-30) or seller VAT identifier (BT-31). A name and address alone are not machine-resolvable to a supplier record.

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-30 / BT-31
Severity
fatal

What the library returns

The exact object in result.errors when this rule fires. Generated by running @attestwire/en16931, not transcribed:

TeachingError
{
  "rule": "BR-CO-26",
  "field": [
    "BT-30",
    "BT-31"
  ],
  "severity": "fatal",
  "message": "In order for the buyer to automatically identify you, the invoice must carry at least one of the seller identifier (BT-29), seller legal registration identifier (BT-30) or seller VAT identifier (BT-31). A name and address alone are not machine-resolvable to a supplier record.",
  "fix": "Set seller.vatId (BT-31) if you are VAT-registered, otherwise seller.legalRegistrationId (BT-30) such as your commercial-register number.",
  "example": "\"seller\": { \"vatId\": \"DE123456789\", \"legalRegistrationId\": \"HRB 12345\" }",
  "docsUrl": "https://attestwire.com/rules/BR-CO-26"
}

A passing value

the shape this field expects
"seller": { "vatId": "DE123456789", "legalRegistrationId": "HRB 12345" }

The fix

Set seller.vatId (BT-31) if you are VAT-registered, otherwise seller.legalRegistrationId (BT-30) such as your commercial-register number.

Arrived from a stack trace? The docsUrl on every error links straight here. Something wrong on this page — tell us.