The Device Information Queried from the device using MDM. The values for DeviceCapacity (Floating-point gigabytes (base-1024 gigabytes) ) and AvailableDeviceCapacity (Floating-point gigabytes (base-1024 gigabytes)) is not the same as in the device Settings --> General --> About page.
Observed in all recent iOS versions in all iOS model devices.
Response for DeviceInformation command sent to device from MDM
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CommandUUID</key>
<string>Enrollment</string>
<key>QueryResponses</key>
<dict>
<key>AvailableDeviceCapacity</key>
<real>166.148193359375</real>
<key>DeviceCapacity</key>
<real>230.2630615234375</real>
<key>IsSupervised</key>
<true/>
<key>Model</key>
<string>MQ8G2HN</string>
<key>ModelName</key>
<string>iPhone</string>
<key>OSVersion</key>
<string>12.1.4</string>
<key>ProductName</key>
<string>iPhone10,2</string>
</dict>
<key>Status</key>
<string>Acknowledged</string>
<key>UDID</key>
<string>3*************5</string>
</dict>
</plist>
But in the device About
The capacity is 256GB and Available is 190.89 GB
Any idea on why such discrepancy exist?