Validates Document Number