The Amtliche Prüfnummer (or AP number) is a code assigned to each individual quality wine cuvée produced by every winemaker in Germany.