What is the difference between cancelling and voiding a fee?
For more, see the section called Cancel Fees in the Finance for NSW - DoE - User Guide
If there has been no payment against a fee that you want to cancel, then the status will be updated to Voided.
The image below shows the credit. This can be used to offset against outstanding fees or refunded if necessary.