There isn't any specification about this in the IRS publication. But yet the formats provided by the IRS have columns for recording odometer reading at the start and end of the trip. Hence, it is better to keep a record of the odometer reading but not mandatory.