When attempting to make a partial refund, the error message "Object reference not set to an instance of an object" appears. This occurs because the Assign Payment Type section in the Automated Refunds Workflow is not set up.
Solution
Go to Settings > Invoicing >Payment Collections.
Under Automated Refunds Workflow, fill out the fields for the Assign Payment Type section and save your changes.