XV-HR-03
Line …: KPD … is removed on 1 January 2027 (NN 119/2026); documents issued from then on need another code….
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
cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode[@listID = 'CG']
Test
not($date lt '2027-01-01' and hr:in(hr:removed2027(), $code))
Checked with Croatia eRačun Invoice (UBL), Croatia eRačun Credit Note (UBL)