Deductions & credits

You enter materials under Supplies.  You should enter the whole amount you received as income and then enter the expenses and materials.  You will pay tax on the Net Profit after expenses.