My Products
Help
Gabriel Acosta
CONTRIBUTOR *

Sending project on Invoice line on a pre-booked invoice results in error but works in GUI

by Gabriel Acosta

We get an error when using supplierInvoice PUT endpoint on a pre-booked invoice where we try to set projectId on a line.

 

Error: {"message":"Error updating supplier invoice. ProjectId field on invoice 200078 cannot be updated because it is Pre-booked."}

 

In GUI you can change project and project task on the invoice without an issue. Is this a bug?

 

 

3 REPLIES 3
Gabriel Acosta
CONTRIBUTOR *

by Gabriel Acosta

Awesome! thanks for the fast response!

Yıldırım
VISMA

Thanks Gabriel, we'll keep you informed on the progress and the release details. 

Accepted solution
Yıldırım
VISMA

by Yıldırım

Hello, 

 

we confirm that Project & Task in the Supplier Invoice line is editable when the invoice is pre-booked, so that API should follow the same flow. This has been reported to our development team.