If you had no taxable gross income then you have no federal income tax filing requirement. Since you have a green card, you are treated as resident in the U.S. for federal income tax purposes, which means that the rule that applies is that you are generally not required to file a federal income income tax return unless your gross income exceeds the standard deduction for the year. For a single person for 2023 that's $13850 (it goes up every year because of inflation).The biggest exception to this is if you are self-employed, in which case if you have net income from the self employment of more than $400 you must file a return because you'd have to pay FICA (Social Security, Medicare, and Medicaid) taxes on that income, and that's collected on the income tax return (Form 1040). If you are in compliance with the tax law, that is all that USCIS should care about. You may request from the IRS transcripts of the income reported for you by persons paid you to help show USCIS there was no income for those years.