My Products
Help
SierdW
PARTNER

Incorrect metadata totalcount in SupplierInvoice endpoint

by SierdW

We experience differences in the metadata totalcount on the SupplierInvoice and the quantity of records in the UI. In the UI without any filters we count eg. 159 supplierinvoices, but the metadata returns a totalCount of 168.

 

Our logic concludes it should get the next page (159 < 168) which results in duplicate records on our side. Can you please look into this?

 

CompanyId we are using for this test is 2492642.

3 REPLIES 3
SierdW
PARTNER

by SierdW

Hi Magnus,

 

We are using the library of 'Ole Melhus' in our .Net application. I can go and analyze his library, but the point I want to make is that the metadata is invalid: the number of records in the metadata totalcount does not reflect the total number of records in this context.

 

 

by Magnus Johnsen

Hi,

Please send us the results from the query to developersupport@visma.com and we'll have a look at it and raise it with the development team. 

Thank you. 

by Magnus Johnsen

Hi,

Are you getting pages with a lower count than 159, and if so are you getting any result from the next page?

How are you handling it on your end and how are you counting the duplicates?

Thank you.