Message

Amounts cannot have more than 2 decimals

Context
cbc:*[ends-with(name(), 'Amount')]
Test
string-length(substring-after(., '.')) <= 2