My Products
Help
ExactGebruiker
CONTRIBUTOR ***

No access to branch when trying to create SupplierInvoice

by ExactGebruiker (Updated ‎21-03-2023 14:45 by Magnus Johnsen VISMA )

Hi,

 

I am trying to create a SupplierInvoice using the Service API, but I immediately get an error saying that I do not have access to (any) branches. I do not understand the error, as an API user all branches seem accessible, at least when GETting. I get the error even when trying the Swagger and filling in ONLY the branchNumber (which in my case is 1 and does exist), while only removing the splitLine argument.

 

Have I missed a step? The tenant is accessible via the application as the Swagger does respond to GETs. Please advise, thanks!

 

 


{
"message": "Error creating supplierInvoice. No access to branch 1." }

 

44 REPLIES 44
Michel V
CONTRIBUTOR ***

by Michel V

Any new updates on this ?

Dial-IN
CONTRIBUTOR *

by Dial-IN

If you're like me and this issue was holding up going live with an integration, I've changed back to the old VNI authentication for just this endpoint, which works as expected.

thingsio
CONTRIBUTOR ***

by thingsio

Obviously no new updates on this. I'm not familiair with the old VNI method, where can I find information on this?

 

We want to use the service API and grandtype client credentials to work with salesorders etc.

 

Wondering if this is now possible?