Automated Refund Error: Object reference not set to an instance of an objectLast updated on 05/12/2023
This article will walk you through assigning a payment type in the Automated Refunds Workflow. This is necessary to process partial refunds and avoid encountering the error message "Object reference not set to an instance of an object."
LEGAL DISCLAIMER: This article was created from a ticket used to solve a specific tenant issue, and has not been verified by an SME. Nothing stated in this article should be construed to be legal advice. The content in this article is provided “as is” and no representations are made that it is error-free. ServiceTitan disclaims all liability for any problem that might arise from using this article to troubleshoot an issue within your environment.
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.
Go to Settings > Payment Collections.
Under Automated Refunds Workflow, fill out the fields for Assign Payment Type and save your changes.
Go back to the invoice and initiate the Automatic Refund.
After the refund, the payment will include the Tax.
Go to the refund invoice and click Update Invoice Details.
Change it to be non-taxable and save.
Note: Make sure every field is filled in the Automated Refunds Workflow.
Important note: Some features may not be currently included in your account and additional configuration may be required. Please contact technical support for details.
Disclaimer: Information provided in this article is for informational purposes only and it should not be construed to be legal advice. Information provided in this article may also not constitute the most up-to-date legal or other information. You should not act or refrain from acting on the basis of any information in this article to meet any compliance requirements without seeking independent legal or other professional advice.