It can be made by reacting ammonia or ammonium carbonate with chloric acid . It is obtained by neutralizing chloric acid with either ammonia or ammonium carbonate , or by precipitating barium , strontium or calcium chlorates with ammonium carbonate or ammonium sulfate , producing the respective carbonate or sulfate precipitate and an ammonium chlorate solution .