Substitution variables / extrafield

thank you - I tried as you suggested {YEAR} but this does not work either. I think the syntax for the global substitution variables is like this: __YEAR__

( Variable substitution system - Dolibarr ERP CRM Wiki )

On the invoice header __YEAR__ works but not under complementary attributes (line) on the same document…