XV-FI-13
The business ID (Y-tunnus) '…' has no valid check digit.
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.
Context
/Finvoice/SellerPartyDetails | /Finvoice/BuyerPartyDetails
Test
not(matches($id, '^[0-9]{7}-[0-9]$')) or fi:ytunnus($id)
Checked with Finvoice 3.0