Credit Note or Invoice not of valid status for modification