Rule reference

BR-25 A line has no item name (BT-153)

Line 1 has no item name (BT-153). The buyer must be able to tell what was supplied from the invoice alone; an internal SKU in place of a name does not satisfy this.

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-153
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-25",
  "field": "BT-153",
  "severity": "fatal",
  "message": "Line 1 has no item name (BT-153). The buyer must be able to tell what was supplied from the invoice alone; an internal SKU in place of a name does not satisfy this.",
  "fix": "Set line.description to a short human-readable item name, and put any longer explanation in line.longDescription (BT-154).",
  "example": "\"description\": \"Senior engineering consultancy\"",
  "xpath": "/ubl:Invoice/cac:InvoiceLine[1]/cac:Item/cbc:Name",
  "docsUrl": "https://attestwire.com/rules/BR-25"
}

xpath locates the element in the generated UBL document, which is where a KoSIT or Peppol validator will report the same problem.

A passing value

the shape this field expects
"description": "Senior engineering consultancy"

The fix

Set line.description to a short human-readable item name, and put any longer explanation in line.longDescription (BT-154).

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