Skip to main content

Filters

Most “List” endpoints support filtering. Filters can be applied as query string examplified below:
curl 'https://api.plude.io/invoices/?filter=date gt 2022-04-29'

Data types

When filtering (data types)[/api-reference/datatypes], they must be formatted based on their property value. Consult the endpoint and object to apply the right formatting.
typeformatexample
Date onlyyyyy-MM-dd2022-04-29
Date & timeyyyy-MM-ddThh:mm:ss2022-04-20T22:59:03
Guidxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxdab5bd07-a231-4048-965a-001ff30c41e2
Decimalddddd.dddd12345678.9012
String’string''this is a string’
Moneyddddd1234567
CurrencyabcEUR
Values (Enum)valuebooked (ex. invoice.status)

Operators

The following operators are supported. Support may vary of the data type. A HTTP 400 Bad Request will be returned if the opeator is not supported for the property.
syntaxoperator
eqEquals
neNot Equals
lkSearch for string in string (like)
gtGreater than
geGreater or equal to
ltLess than
leLess than or equal to

Sorting