I often read in research articles acknowledgments such as
The first author is (partially) supported by a grant of the National Science Foundation of Sikinia no. 1234567890.
What are the guidelines for acknowledging funding agencies? Should I mention, for instance, grants that cover some research expenses or sponsor my participation to a conference? Or only those who pay me directly?