paid_on is replaced with paid_date and refunded_on is replaced with refund_date, piade date and refund date will be saved when invoice id paid or refunded