NPI numbers are used to bill for Medicare and Medicaid Services. They're also used to track HIPAA standard transactions. DEA numbers (drug enforcement administration number) are used specifically for the prescribing and administering of controlled substances (for example, narcotics).