How to input Sec. 408(d)(8) charitable contribution directly from IRA

The financial institute will be sending the RMD directly to the charity, but has indicated the 1099-R code will remain a "Normal Distribution". How do we input this donation so that it remain excluded from taxable income?  Here is an article explaining the tax situation: http://www.thetaxadviser.com/newsletters/2016/apr/charitable-ira-distributions.html