Im currently listing all invoices from a selected customer.
I would like to filter on this result, and only list the invoices newer than a specified date.
// Find debtor
$debtorHandle = $client->Debtor_FindByNumber(array('number' => $economic_api->customerId))->Debtor_FindByNumberResult;
// Find order ids for debtor
$orderHandles = $client->Debtor_GetInvoices(array('debtorHandle' => $debtorHandle))->Debtor_GetInvoicesResult->InvoiceHandle;
// Find all orders for debtor
$invoices = $client->Invoice_GetDataArray(array('entityHandles' => $orderHandles))->Invoice_GetDataArrayResult->InvoiceData;
Do i have to check every invoice in my script or is there a filter available?