F-LIB313
Invalid UBLExtension/ID when UBLExtension/ExtensionAgencyID is equal to 'Digitaliseringsstyrelsen'. ID must be an assigned value between '1001' and '1999'.
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.
OIOUBL 2.1 Invoice rules (Denmark) 1.17.2
OIOUBL 2.1 Credit Note rules (Denmark) 1.17.2
OIOUBL 2.1 Reminder rules (Denmark) 1.17.2
Test
ext:UBLExtensions/ext:UBLExtension/ext:ExtensionAgencyID = 'Digitaliseringsstyrelsen' and (ext:UBLExtensions/ext:UBLExtension/cbc:ID < '1001' or ext:UBLExtensions/ext:UBLExtension/cbc:ID > '1999')
Checked with Denmark OIOUBL 2.1 Invoice