The Medicaid agency must assure appropriate audit of records if payment is based on costs of services or on a fee plus cost of materials.