Closed imneckro closed 4 months ago
The $response variable you got back is actually a type of RequestedDoc. So you can do $response->getExpensesClassifications
It returns empty result even though expensesclassifications exist for the specific period of time.
Can you confirm that the response xml contains such data? You can get the xml by $request->getResponseXml()
No, response $xml from $request->getResponseXml() does not even contain child nodes for expsenses classification.
The $request->getResponseXml() though, doesnt accept ->handle(dateFrom: $dateFrom,dateTo: $dateTo)
and as a result of that returns only a few results.
The xml returned from the $request->getResponseXml()
is the xml directly from mydata and it is not altered in any way. If this xml doesn't contain expense classifications then probably you don't have any.
Hello there. Could you please help me how to use
$expensesClassifications = $requestedDoc->getExpensesClassifications();
in the below example:
Thanks in advance