How to fetch Terms and Conditions

hi,
how to fetch Terms and Conditions ?

TERMS
Terms and Conditions Detail

I try {{ frappe.db.get_value(“Terms and Conditions”, tc_name, “terms”) }} but not work

anyone can help me

Hi @kankankuli ! This is supposedly a default functionality. Are you adding Terms and Condition in a Custom Doctype?

yes if in sales invoice i can use this {{ doc.terms or “” }}

how about in custom print format?