This transaction doesn't significantly affect taxes AFAIK. By "selling" bitcoins in this way, a lot of USD income was made via capital gains, but it immediately became an expense. The net income is zero for this transaction. Appropriate taxes (determined by a professional) will be paid, of course.