createInvoice: refactor steps within waterfall

Functionally equivalent preparation for additional steps.