affidavit

(noun) testimony (generic term)

legal document (generic term)
legal instrument (generic term)
official document (generic term)
instrument (generic term)