My Products
Help
adrianm
PARTNER

prepare invoice does not return error message

by adrianm

When prepare invoice fails

 

POST: https://integration.visma.net/API/controller/api/v2/salesorderbasic/IN/{id}/action/prepareInvoice

 

it just returns

{"message":"Error creating customer invoice. Error: Updating 'Sales order' record raised at least one error. Please review the errors.\r\n"}

 

Can you please fix this so we know where to do?

1 REPLY 1
Marten Voort
VISMA

by Marten Voort

Hi! In this situation it is best to first check if it is possible to create an invoice manually, if that does not work, there will be a more informing error message. Otherwise more investigation is needed.