The constitutional functions of the AGSA are set out in section 188 of the Constitution and section 4 of the Public Audit Act, 2004