If you have to drive for your company and the company pays per mile below the IRS baseline amount used on tax returns you work for a shitty company and should look for other employment. It’s not a law companies need to follow but most do.
2022 IRS guidelines 58.5c per mile.