I have servicefunction
function newtaxfreedocument(taxfreeDocumentdata: TTravellerInvoice): String;
TTravellerinvoice is an entity.
When service raises exception xdata client can't handle it correctly.
I get error exception cannot convert TJElement
Xdataclinet is newest 5.3.0.1 version
This is respose returned in this case is
HTTP/1.1 404 Not Found
Content-Length: 133
Content-Type: application/json
Server: Microsoft-HTTPAPI/2.0
xdata-version: 2
access-control-allow-origin: *
Date: Mon, 17 Jan 2022 14:59:49 GMT
{
"error": {
"code": "Exception",
"message": "total amount 75,82 doesn't match to sum of vats 0,00"
}
}