---
title: "Automated Refund Error: Object reference not set to instance of object"
slug: "automated-refund-error-object-ref-not-set-to-instance"
updated: 2026-03-27T01:36:36Z
published: 2026-03-27T01:36:36Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://help.servicetitan.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Automated Refund Error: Object reference not set to an instance of an object

## Problem

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

1. Go to **Settings > Invoicing >** **Payment Collections**.
2. Under *Automated Refunds Workflow*, fill out the fields for the *Assign Payment Type* section and save your changes.
3. Go back to the invoice and [initiate the automatic refund workflow](/v1/docs/refund-payment-applied-to-an-invoice).

> [!NOTE]
> **Note:** Make sure every field is filled in the Automated Refunds Workflow.
