add basic invoice functionality