ALIGNED-IBRP-S-05-OM

[ALIGNED-IBRP-S-05-OM] - In an Invoice line (IBG-25) where the Invoiced item VAT category code (IBT-151) is "S" the Invoiced item VAT rate (IBT-152) MUST be 5.

About

ID
ALIGNED-IBRP-S-05-OM
Flag
fatal
Context
ubl:Invoice | cn:CreditNote
Test
not($lines[cac:Item/cac:ClassifiedTaxCategory/cbc:ID = 'S']) or (every $line in $lines[cac:Item/cac:ClassifiedTaxCategory/cbc:ID = 'S'] satisfies ($line/cac:Item/cac:ClassifiedTaxCategory/cbc:Percent/normalize-space(.) castable as xs:decimal and xs:decimal($line/cac:Item/cac:ClassifiedTaxCategory/cbc:Percent) = 5))