вообще-то судя по
insert into trm_out_receipt_tax(cash_id,id,taxgroup_id,tax_id,name,percent,priority,amount,version,deleted) values ('2003002','1569993','0','1','НДС','10.00%','0','1.7200',425930,'0'),('2003002','1569994','0','1','Н ДС','10.00%','0','1.8200',425930,'
надо это посмотреть:
select * from trm_out_receipt_tax where cash_id=2003002 and id=1569993;
select * from trm_out_receipt_tax where cash_id=2003002 and id=1569994;