invoicing methods

I've implemented invoice bits for sdk, but unfortunately without tests, because I cant find the way how to test it in the current environment.