Hello,
You want to write-off the Vendor Invoice. Please follow these steps:
1. Go to a Purchase Credit Memo
2. Enter the Vendor No./Name
3. Under Actions/Functions choose Copy Document

4. Enter Document Type = Posted Invoice and under Document No. select the Posted Invoice for the Vendor. Make sure Recalculate Lines is FALSE. Click OK. The Purchase Invoice information is copied to the Purchase Credit Memo and self Applied-To the Invoice to clear. You can now Post the Credit Memo.

NOTE! If this purchase was for Inventory Items, you will not use this function just create a Credit Memo and use Type = G/L Account and select the correct G/L Account your accountant wants to book the write-off too. You can go to the Application Fast Tab and manually apply to the open Invoice.

Hope this helps.
Thanks,
Steve