A from farm to food donation tax credit is allowed against the taxes imposed in chapter 422, subchapters II and III, as provided in this subchapter.