John Vine's inspection of e-Borders found that records relating to drug and tobacco smuggling were deleted over a 10-month period due to "poor data quality and the prioritisation of immigration over customs work".
The report said: "These deletions had a significant impact on the ability of staff at the border to seize prohibited and restricted goods and deal with those responsible."
It added: "This amounted to three quarters of all the customs work generated in NBTC and impacted on the ability of e-Borders to deliver anticipated benefits in relation to the seizure of prohibited and restricted goods."
More top news
An endurance runner has set a new record by running and climbing 24 mountains over a distance of 56 miles, in 24 hours.
It is up to the Supreme Court judges to decide whether the legal dispute over Brexit is, perhaps, a red herring for something else.
Urdu, Chinese, Arabic and Polish make up the majority of languages after English.