work on invoice output