wip - invoice generation