Inventory - damaged goods returned

If a customer returns an item that arrived damaged and is sent a replacement, how should this be recorded in Manager so the Inventory count is kept in order?

issue a credit note for returned items.
read this guide https://guides.manager.io/7425

then issue a sales invoice for sending replacements.

Read the Guide on exchanging inventory.