Identifiers

Eleven kinds of number a form or an import has to check. Each page says how the number is built, how its check digit works, and how to get valid and broken ones for your tests.

Every number the program makes has a correct check digit, and some kinds are made in a block set aside so that no real number can match. The table says which.

NumberCheck digitCan a generated one match a real one?
Test card numbersLuhnThey are test numbers payment providers publish
VINninth character, remainder after dividing by 11Yes
SSNnoneNo, area 666 is never issued
PESELlast digit, weights 1, 3, 7, 9Yes
ISBNlast digit, weights 1 and 3Not today, no registration group holds the block
EAN-13last digit, weights 3 and 1No, prefix 952 is set aside for examples
IMEILuhnOnly a test device, never a phone on sale
Routing numberweights 3, 7, 1Yes
NIPlast digit, remainder after dividing by 11Yes
REGONlast digit, remainder after dividing by 11Yes
Polish IBANtwo digits, remainder after dividing by 97Yes

Where a generated number can match a real one, keep the data in test systems. Every value is made up says more.

Every page shows numbers this version of the program printed, and a recipe that breaks some of them, with what your application should do with each broken one. All of that comes from running the program, so a page cannot show what the program no longer does.