BR-17 The invoice carries a payee group (BG-10), so it must carry a payee name (BT-59)
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.
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-59- 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-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 locates the element in the generated UBL document,
which is where a KoSIT or Peppol validator will report the same problem.
A passing value
"payee": { "name": "Factoring Nord GmbH" }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.