How to determine the HCO3- (Bicarbonate )and CO32-(Carbonate ) in a mixture of Ammonium bicarbonate and ammonium carbonate .

When we analysis Sodium salts of bicarbonate or carbonate alone separately normally we use HCl. But how can we determine bicarbonate and carbonate in a mixture of ammonium salts. If anyone knows , please explain. Thanks in advance.