Below are the steps that I followed already:
- Created a Sales order
- Created an advance invoice with a certain percentage
- Posted a vendor invoice
- Created a payment journal with the advance invoice payment proposal functionality
- Linked the payment line with the advance invoice
- Posted the payment journal
Now, my advance invoice is linked to the prepayment journal that I posted but the balance on Advance invoice is still there. When I'm trying to mark my prepayment journal voucher and advance invoice against each, I'm getting the following error: