The Device Facts, Warranty Expiration Date, Warranty Days Left, and Manufactured Date, are "best guess" estimates on warranty information based on the device Serial number. In the Fall of 2020 Apple started using random serial numbers on all new devices, therefore the best guess algorithm will not be as accurate as desired. There is no programmatic way to know accurate warranty expiration dates on Apple devices.
Addigy is actively looking to build in more accurate warranty information that is programmatically accessible. For those who need warranty information that can be pulled programmatically, please create a Feedback with Apple and provide this information for MDM vendors to access. You can reference our Feedback: FB7682701 in your feedback with Apple.
We will be working on deprecating these facts in 2022, and try to provide any possible alternatives Apple provides.