I am having problems trying to fetch the description in the payment terms to the invoice print format. Since the description is different for every payment term, it is important for us to get these details automatically in the invoice print. Is there any solution for this?
If you want to use payment terms then use the Terms and Condition doctype.
Every transaction document for purchase and sales has terms field(which is linked to terms and conditions doctype) and text editor(It will populate the description of terms and condition into it automatically when you select the terms field).
Now when you select the terms field then I will automatically update the text editor field .
Same text editor field is by default selected in standard print formats.