Overpaid taxes can be recovered within five years. After that, the right lapses month by month.
The most common cases involve PIS and Cofins on single-phase products, unused input credits and withholdings never offset.
Recovery involves reviewing the filings, amending the returns and requesting an offset against future taxes.