Invoice receipt paid against wrong line item on PO
We have a purchase order with two line items that have an invoice posted and paid against it that should have gone to different line items in the PO. These will never clear because the GR was completed and posted on the correct line item, now we have invoice receipts greater than goods receipts, and ordered quantity on the two line items erroneously.
How can I move that invoice and payment to the correct line item? If the check was paying more than that one invoice I am hesitant to reverse the payment document and the invoice receipt to move it all. Can I post subsequent debit/credit against the line items? Can I process a debit/crtedit note to clear this up?
What is the best solution