The National Identity of Spain (DNI) is a document the size of a credit card issued by the Ministry of Interior through the National Police, which certifies the identity and personal data of the owner and the Spanish nationality of the same.
At the bottom of the back of ID is a series of characters OCR-B intended to be read mechanically according to standard ICAO documents.
These characters correspond to the data displayed on the front
Link: