add some example code for invoice