The shortfall was more than 8% from the previous year and the third highest on record, the Treasury Department said Friday.