Most cities with population around 100,000 and above have a CEP assigned to every public place and to some high-occupancy private spaces, like major commercial buildings and large residential condos.
Initially it was freely available at the Brazilian post office website, but after receiving various enhancements it is now a paid service called e-DNE.
It comprises: The digits have the same function since 1970: to locate a region, state, county, district, neighborhood or street.
Brazil was divided into ten postal areas, ranging from 0 to 9, counting counter-clockwise from the state of São Paulo.
Correios, Brazil's mail service, requests (but does not require) that the code be placed in the last line of the address.