BR-NL-25

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

warning: reported, still valid

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

The use of a seller tax registration identifier (cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID) is not recommended when the tax scheme is not VAT, since this is not applicable to suppliers in the Netherlands

Context
cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme[$s]
Test
not(cbc:CompanyID) or cac:TaxScheme/cbc:ID = 'VAT'

Checked with Netherlands SI-UBL 2.0 Invoice (NLCIUS), Netherlands SI-UBL 2.0 Credit Note (NLCIUS)

Message

The use of a seller tax registration identifier (/*/*/ram:SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID) is not recommended when the tax scheme is not VAT (VA), since this is not applicable to suppliers in the Netherlands

Context
ram:SellerTradeParty/ram:SpecifiedTaxRegistration[$s]
Test
not(ram:ID) or ram:ID/@schemeID = 'VA'

Checked with Netherlands NLCIUS Invoice (CII)