The test is done by calculation on the first 12 digits and compare the result with the checksum number at the end. You have to pass a 13 digits number.The test is done by calculation on the first 9 digits and compare the result with the checksum number at the end. You have to pass a 10 digits number or 8 digits and an X.Visual DataFlex Web Service to validate ISBN numbers.