South Dakota's Supreme Court has rejected a state law aimed at collecting sales taxes from out-of-state retailers.