Perchloric acid is an acid that contains the perchlorate ion .
Treatment of barium perchlorate with sulfuric acid precipitates barium sulfate , leaving perchloric acid .