When could states collect taxes but the federal government could not?

The federal government had no ability to tax when it was operating under the Articles of Confederation. The US Constitution provided the federal government authority to collect taxes; the Sixteenth Amendment, ratified in 1913, added the ability to levy taxes on income.