Xero API How to force to 4 decimal places

For anyone else searching for this. It turns out the Xero module already pass the require parameter to Xero to use 4 decimal places.