Fixed vendor payment update for purchase invoices.

Fix for system76/beansbooks#172