Hello!
This morning I’m seeing these errors trying to create a new invoice: “comparison of Date with String failed”. The request body looks like this:
{
"invoice": {
"dated_on":"2020-07-25",
"payment_terms_in_days":0,
"contact":"https://api.freeagent.com/v2/contacts/1234567",
"currency":"GBP",
"invoice_items":[
{
"description":"Blah blah",
"quantity":1,
"price":595.0,
"category":"https://api.freeagent.com/v2/categories/001"
}
],
"reference":"123"
}
}
The code which generated the request hasn’t changed recently. Has anything changed at FreeAgent’s end?
Many thanks in advance!
Yours,
Andrew Stewart