[FEATURE] Enable partial invoicing (fixes #4)