My Products
Help
RMaarssen
CONTRIBUTOR *

How to check if an AP Invoice is already exists?

by RMaarssen

Hi,

 

For example: A customer is processing a Purchase Invoice, with the following data:

 

- Supplier Number: 3366

- Invoice Number: 19852231

 

How can we check via the API if this Invoice Number is already in the administration? 

 

I see this GET:

 

image.png

 

But the Invoice Number is not the actual Invoice Number, but the Entrynumber.

 

 

3 REPLIES 3

by Magnus Johnsen (Updated ‎11-11-2020 10:58 by Magnus Johnsen VISMA )

Hi,

What do you mean the "EntryNumber"?

 

If you compare with the UI, the invoiceNumber is the number you would use in the GET request.

2020-11-11 10_56_52-Purchase invoices.png

If the response is "404" it does not exist.

RMaarssen
CONTRIBUTOR *

by RMaarssen

Hi,

 

I want to check on this number, because this is the number which the Supplier uses on his invoice:

 

image.png

Accepted solution
Magnus Johnsen
VISMA

by Magnus Johnsen

As of today, there is no filter available for SupplierRef, however there is an suggestion in the Idea's part of the forum to expose this, we suggest that you vote for this suggestion as well:

New filters of SupplierNumber and SupplierReference on Supplier Invoice endpoint