What is the difference between substantive analytical procedures and test of details?

What is the difference between substantive analytical procedures and test of details?