This error (An Error occurred when creating the shipment Error: Web Request Error: An XML Error occurred! - Error in parsing request XML:Error: Datatype error: In element 'Value' : is out of bounds:[ 0.0 <= X <= 1.0E10 ]. at line , column) from DHL usually occurs when the item value is either zero or negative. It often happens when the discount applied is greater than the item price.
Example
Item A
Price: £38.
Discount: £46.
VAT: £8.
In this case, Mintsoft deducts the discount from the price (i.e. £38 - £46), resulting in a negative value. Since VAT is handled separately, DHL sees only the negative item value when generating the shipment, which causes the error. To resolve this issue, please follow these steps:
Click Orders then Overview.
Search for the order.
Click Actions then Details.
Within the Items tab, check the following:
Review the Price and Discount values for each item. Ensure that the Discount does not exceed the Price.
Adjust the discount amount so that the item value remains zero or positive.
Click Save after making the necessary changes.
Try generating the shipment again.
If the error still appears after making these adjustments, please raise a new case online and reference the title of this article.