made instance optional in Invoice