TODO: Create pending payment automatically

Project

Create the payment node when the invoice is created.

When a payment is made, if it's not the total amount, create another pending payment with the remaining amount.

This is an idea for tracking remaining amounts.

Image
Invoices missing payment amount