invoiceninja / sdk-php

PHP wrapper for Invoice Ninja's REST API
https://www.invoiceninja.com
83 stars 42 forks source link

Is it possible to query invoices by date? #64

Closed dph-jan closed 3 years ago

dph-jan commented 3 years ago

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?

turbo124 commented 3 years ago

This is now possible in v1.0.2 for v5 of invoice ninja