[invoice] ~update pos_order action_invoice method from point_of_sale code