You do subtract the pre-paid tuition amount from Box 1 to find what is the maximum qualified expense outlay that qualifies for an education credit. In most cases, you also need to subtract Box 5, too. Refer to IRS publication 970,
for details on how the various sources of educational support interact.