sending and receiving invoice