My Products
Help
KonsultVn
CHAMPION ***

Inconsistency when fetching supplier invoices

by KonsultVn

The issue we have is that when we fetch a list of supplier invoices I will get all the supplier invoices that exists, but when we fetch some invoices separatly I get an error that says that the invoice doesn't exist. The only difference that we can see on the invoices is that the ones we can't fetch separatly is credit invoices.

 

Why is it that we can fetch all invoices at once but not when we fetch them separatly?

2 REPLIES 2

by Magnus Johnsen

Hi,

For supplierInvoices of other types than "invoice" you need to specify the type when getting it(CreditAdj, DebitAdj, Prepayment😞

2022-09-22 16_20_16-Visma.net Integrations Documentation - Brave.png

These can have overlapping referenceNumbers for example as they use different numberSeries. 

JoLu
CONTRIBUTOR ***

by JoLu

Hi,

 

How about adding these kind of limitations to the API-documentation, we also discovered this by chance and would have found it a bit earlier if it was in the documentation?