Rules / IBR-189-AE
The scheme identifier must be SAC when Service accounting code is provided
The scheme identifier (BTAE-17-1) must be SAC when Service accounting code (BTAE-17) is provided.
Fails when this is false
not(cac:AdditionalItemIdentification/cbc:ID) or cac:AdditionalItemIdentification/cbc:ID/@schemeID = "SAC"The schematron test, verbatim. Context: cac:Item
Fix
Change the data so the condition below holds. It reads cac:AdditionalItemIdentification, cbc:ID, @schemeID. Paste the invoice into the validator to see the exact element that fails.