Can I change invoice to a different customer?

SOLVED

I have several invoices for a customer and I inadvertently assigned them to the wrong customer.  Can I just change the customer name?  I've tried it on one and it worked but then I tried on another one and it wouldn't let me and I can't understand why.