https://en.m.wikipedia.org/wiki/Perjury
Perjury (also known as foreswearing) is the intentional act of swearing a false oath or falsifying an affirmation to tell the truth, whether spoken or in writing, concerning matters material to an official proceeding.[A]
Like most other crimes in the common law system, to be convicted of perjury one must have had the intention (mens rea) to commit the act and to have actually committed the act (actus reus). Further, statements that are facts cannot be considered perjury, even if they might arguably constitute an omission, and it is not perjury to lie about matters that are immaterial to the legal proceeding. Statements that entail an interpretation of fact are not perjury because people often draw inaccurate conclusions unwittingly or make honest mistakes without the intent to deceive. Individuals may have honest but mistaken beliefs about certain facts or their recollection may be inaccurate, or may have a different perception of what is the accurate way to state the truth. In some jurisdictions, no crime has occurred when a false statement is (intentionally or unintentionally) made while under oath or subject to penalty. Instead, criminal culpability attaches only at the instant the declarant falsely asserts the truth of statements (made or to be made) that are material to the outcome of the proceeding. It is not perjury, for example, to lie about one's age except if age is a fact material to influencing the legal result, such as eligibility for old age retirement benefits or whether a person was of an age to have legal capacity