import ch.codeblock.qrinvoice.util.QRReferenceUtils;
// ...
System.out.println(QRReferenceUtils.isValidQrReference("11 00012 34560 00000 00008 13457"));
System.out.println(QRReferenceUtils.isValidQrReference("110001234560000000000813457"));
// prints true
System.out.println(QRReferenceUtils.isValidQrReference("11 00012 34560 00000 00008 13456"));
// prints false, due to wrong checksum