Brazilian systems validate a soup of documents, each with its own check-digit algorithm and mask. 4Devs gathers generators and validators for nearly all of them: CNPJ (company ID), RG, CNH (driver license), voter ID, PIS/PASEP, RENAVAM, vehicle plates, state tax registration per state, bank accounts, certificates and credit cards. The person and company generators produce a whole record at once, with name, address and documents consistent with each other.
The validator side saves the most time day to day: when a form rejects a document the user swears is correct, pasting it here tells you in seconds whether the problem is the number or your code.
Know the limit. A valid check digit confirms the format, not that the document exists or belongs to anyone, so it does not replace a lookup against an official source. And test data is still test data: do not let it leak into the production database. For volume, prefer a library in your code.