An affidavit is a legal document that is used to provide written evidence or a statement of facts under oath. Introduction. The complicated nature of various terms and phrases relating to bail and pretrial release or detention can sometimes lead to confusion.An affidavit is a sworn statement a person makes before a notary or officer of the court outside of the court asserting that certain facts are true. A written declaration upon oath made before an authorized official.