DELETE FROM `invoice_detail` WHERE `invoice_detail`.`serial_phy` = 1124;
DELETE FROM `invoice_detail` WHERE `invoice_detail`.`serial_phy` = 21;
DELETE FROM `invoice_detail` WHERE `invoice_detail`.`serial_phy` = 41;
DELETE FROM `invoice_detail` WHERE `invoice_detail`.`serial_phy` = 91;
DELETE FROM `invoice_detail` WHERE `invoice_detail`.`serial_phy` = 101;
DELETE FROM `invoice_detail` WHERE `invoice_detail`.`serial_phy` = 261;
DELETE FROM `invoice_detail` WHERE `invoice_detail`.`serial_phy` = 622;
DELETE FROM `invoice_detail` WHERE `invoice_detail`.`serial_phy` = 662;
DELETE FROM `invoice_detail` WHERE `invoice_detail`.`serial_phy` = 663;
DELETE FROM `invoice_detail` WHERE `invoice_detail`.`serial_phy` = 664;
DELETE FROM `invoice_detail` WHERE `invoice_detail`.`serial_phy` = 665;
DELETE FROM `invoice_detail` WHERE `invoice_detail`.`serial_phy` = 666;
DELETE FROM `invoice_detail` WHERE `invoice_detail`.`serial_phy` = 667;
DELETE FROM `invoice_detail` WHERE `invoice_detail`.`serial_phy` = 668;
DELETE FROM `invoice_detail` WHERE `invoice_detail`.`serial_phy` = 669;
DELETE FROM `invoice_detail` WHERE `invoice_detail`.`serial_phy` = 670;

DELETE FROM `payment_detail` WHERE `payment_detail`.`serial_phy` = 622;
DELETE FROM `payment_detail` WHERE `payment_detail`.`serial_phy` = 662;
DELETE FROM `payment_detail` WHERE `payment_detail`.`serial_phy` = 663;

DELETE FROM `invoice` WHERE `invoice`.`total_phy` = 0;
DELETE FROM `invoice` WHERE `invoice`.`status_phy` = 'VOID';












