Financially Void a Check with Unrealized VAT

Dear NAV Gurus,

How to Financially Void a Check with Unrealized VAT ?

We are using MS Dynamics NAV 2013 R2. We want to financially void a check. The check is applied to a purchase invoice which consists of unrealized tax. Since we are using sales tax, unrealized and realized tax accounts are setup in Tax Jurisdiction page.

An error occurs when we are going to void the check. Attached file contains the error message.​

Thanks,
Hasitha Jayasuriya