If you are returning items to the vendor by creating a purchase order of type - Return Item- the system will not ask you against which receipt you are returning the items. So you can add any number of lines here and post them.
If you are raising a credit note - it should be against an invoice.
Comments
If you are raising a credit note - it should be against an invoice.