A/P Batch Error, Invoice already exists

SUGGESTED

We try to post in A/P entry, but it generated an Error batch and it says Invoice XXXXX already exists.
It seems that we created an P/O invoice and also a credit note with the same number. 

How can we void or change the number and process to batch?

Thanks for help