The Code of Audit Practice is part of the overall framework for the conduct of public audit in Scotland. The Code outlines the responsibilities of external auditors and it is a condition of their appointment by the Auditor General or the Accounts Commission that they follow it.