A nonresident beneficiary of a trust whose adjusted gross income derived from sources in this state includes all or part of an accumulation distribution by such trust, as defined in section 665 of the Internal Revenue Code, shall be allowed a credit against the tax otherwise due under this chapter, computed in the same manner and subject to the same limitation as provided by ORS 316.298 with respect to a resident beneficiary.
ORS 316.317