A <<type of terms>> defined in the configuration can be assigned to a given customer. To do so, in the customer form, in the tab Trade, in Terms field, it is necessary to select an appropriate type of terms
If a customer with assigned terms is selected in a document, then, the same type of terms is assigned to the payment of this document, by default.