BR-FR-27_BT-160

The rule sets below word this rule differently; each wording is shown with its rule set.

error: the document is invalid

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.

Message

[BR-FR-27/BT-160] Le nom d’attribut d’article (cbc:Name) ne doit pas être vide. Valeur actuelle : " … ". Veuillez fournir un nom d’attribut valide ou utiliser un code à la place.

Context
ubl:Invoice/cac:Item/cac:AdditionalItemProperty/cbc:Name | cn:CreditNote/cac:Item/cac:AdditionalItemProperty/cbc:Name
Test
normalize-space(.) != ''

Checked with France e-invoice (UBL), France e-credit note (UBL), France EXTENDED-CTC-FR (UBL)

Message

BR-FR-27/BT-160 : Le nom d’attribut d’article (ram:Description) ne doit pas être vide. Valeur actuelle : " … ". Veuillez fournir un nom d’attribut valide ou utiliser un code à la place.

Context
rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:Description
Test
normalize-space(.) != ''

Checked with France e-invoice (CII), France Factur-X EN 16931, France EXTENDED-CTC-FR (CII), France Factur-X EXTENDED, France Factur-X BASIC WL