Invoice spec

## Not ready for merge

Initial invoice spec. Once discussed, invoices feature will be added to this PR.