Fix deposit invoice
Merge pull request #1471 from FHenry/3.5

Fix deposit invoice