Invoice API: error while creating a customer

Invoice API: error while creating a customer

I was trying to create a customer using invoice API and I specified the following in the XMLString
for the property PaymentsDue

<Customer> <Name>Sample Customer</Name> <!-- Mandatory --> <PaymentsDue>1370.0</PaymentsDue>

I got the following:

RESPONSE CODE: 200





RESPONSE TEXT: 2 Invalid Value 1370.0 specified for PaymentsDue property


What am I doing wrong?

Thanks