The V00017 version of the administrative division code can be obtained from the Metadata system on Statistics Portugal's website under Classifications.