You also need to create a payment or journal entry separately while suppering def action_confirm(self) to make the invoice auto-pay completely