My Products
Help
andretvard
CONTRIBUTOR ***

createdDateTime filter does not seem to work on CustomerInvoice and CustomerCreditNote endpoints

by andretvard (Updated ‎09-03-2021 19:34 by Yıldırım VISMA )

Hi

 

We've noticed that createdDateTime filter does not seem to work on CustomerInvoice and CustomerCreditNote endpoints.

 

For example, when run a GET query with parameters

lastModifiedDateTime: 2021-02-19 (tomorrow's date)

lastModifiedDateTimeCondition: >

we get no results as expected.

https://integration.visma.net/API/controller/api/v1/customerinvoice?status=Balanced&lastModifiedDateTime=2021-02-19&lastModifiedDateTimeCondition=%3E&pageNumber=1&pageSize=1

 

But if we run the GET query with createdDateTime filter instead

createdDateTime: 2021-02-19 (tomorrow's date)

createdDateTimeCondition: >

we get all the invoices like there is no filter at all

 

https://integration.visma.net/API/controller/api/v1/customerinvoice?status=Balanced&createdDateTime=2021-02-19&createdDateTimeCondition=%3E&pageNumber=1&pageSize=1
 

 

 

"metadata": {
      "totalCount": 999,
      "maxPageSize": 1000
    }

 

 

 

The issue is reproducible in Swagger at least on the CustomerInvoice and CustomerCreditNote endpoints.

We tested the same filter parameters on the Customer endpoint and there is worked as expected.

 

 

 

1 REPLY 1

by Magnus Johnsen

Hi,

We can confirm this and have reported it to the development team.

Thank you for letting us know.