Add partial support for creating an invoice

Use @@class variable rather than passing around project as an arg