Add set_total_advance_paid