fix listing code in invoice.
fix invoice bug