Credit notes with multiple references

Greetings,

Is it valid to create a credit note with multiple invoice references if the credit note includes an item that is not mentioned in any of the referenced invoices?