Attestwire › Rule reference › BR-17
BR-17 A separate payee must be named
noun · EN 16931 · fatal · BT-59
For a sample invoice, the library reports: The invoice carries a payee group (BG-10), so it must carry a payee name (BT-59). BG-10 exists for exactly one purpose: to say that the money goes somewhere other than to the seller — to a factor, a parent company, an insolvency administrator.
- Business term
BT-59- Severity
fatal
The fix
Set payee.name to the legal name of the party that is to receive the payment, or remove the payee object entirely if payment goes to the seller.
A passing value
"payee": { "name": "Factoring Nord GmbH" }What the library returns
The full error returned by @attestwire/en16931. It includes the rule ID,
affected field and suggested correction. Developers can use this object in their application:
{
"rule": "BR-17",
"field": "BT-59",
"severity": "fatal",
"message": "The invoice carries a payee group (BG-10), so it must carry a payee name (BT-59). BG-10 exists for exactly one purpose: to say that the money goes somewhere other than to the seller — to a factor, a parent company, an insolvency administrator. An empty name states that redirection without naming the recipient, which is the one thing the buyer's payment run cannot act on, and which a bank will not accept as a payment instruction.",
"fix": "Set payee.name to the legal name of the party that is to receive the payment, or remove the payee object entirely if payment goes to the seller.",
"example": "\"payee\": { \"name\": \"Factoring Nord GmbH\" }",
"xpath": "/ubl:Invoice/cac:PayeeParty/cac:PartyName/cbc:Name",
"docsUrl": "https://attestwire.com/rules/BR-17"
}
xpath is always a UBL path. On a CII invoice, look for the
matching CII field instead.