For me,
Invoice::findByCustomQuery(["invoice_number" => "id123"]);
returns the correct invoice object, however
Invoice::findByCustomQuery(["invoice_date" => "2021-06-03"]);
returns all invoices, just like Invoice::all();
Is there any way to query invoices by providing a date or, even better, a date range using the sdk or curl?
For me,
Invoice::findByCustomQuery(["invoice_number" => "id123"]);
returns the correct invoice object, howeverInvoice::findByCustomQuery(["invoice_date" => "2021-06-03"]);
returns all invoices, just likeInvoice::all();
Is there any way to query invoices by providing a date or, even better, a date range using the sdk or curl?