Objective
A payment recorded in a closed period cannot be directly voided without reopening the period. However, a reversing journal entry can be created to apply against the payment transaction to essentially cancel the payment. The objective is to automate the process of unapplying the payment, creating a reversing journal entry, and applying the payment to the journal entry.
Custom Solution
- Add a custom ‘Void Payment’ button to the Customer Payment form when specified rules are met
- View Mode Only
- When the transaction posting period is Closed and the accounting period is set to Allow Non-GL Changes
- Parameter for specified user roles
- When the custom ‘Void Payment’ button is clicked, the following automated process will occur:
- Gather the GL Impact from the Customer Payment
- For example, a Debit to Cash and Credit to Accounts Receivable
- Create a Journal Entry using the GL Impact from the Customer Payment, reversing the debit and credit amounts.
- For example, a Debit to Accounts Receivable and a Credit to Cash
- Transaction date defaults to current date and corresponding posting period
- Header-level and line-level Memo will be set to ‘Void of Customer Payment [TranID]’
- Load the Customer Payment
- Remove any payment application, including a) Invoices, b) Credits, and c) Deposits
- Note: this may change the status of the related transactions, for example an Invoice may change from Paid In Full to Open
- Apply the entire payment amount to the Journal Entry just created
- Remove any payment application, including a) Invoices, b) Credits, and c) Deposits
- Confirmation alert appears and the Customer Payment page refreshes to reflect the changes
- Gather the GL Impact from the Customer Payment