WIP - Add support for invoices to gecko.

Line is too long. [86/80]