API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

Error while trying: CurrentInvoice_Book


after CurrentInvoice_Create, CurrentInvoiceLine_Create, CurrentInvoiceLine_SetProduct, CurrentInvoiceLine_SetDescription, ..unit and price I call CurrentInvoice_Book.

Result is always: Economic.Api.Exceptions.ServerException(E00000): An internal error has occurred.

Example-error-id: 3f4a6cc3-0a2e-4a39-949c-bcf25ce3de8a

On the webInterface I see a booking was created - but it´s complete empty.

Maybe you know what is missing.

THX @ all
created Jun 12, 2013 by DrGM
0% Accept Rate
Q 2 A 1 C 2

2 Answers

Hi DrGm,

I can't see find any errors with that id in our log. Can you please verify, that it is correct.

Thank you,
Rasmus Beck, Developer e-conomic
answered Jun 14, 2013 by rbb


here is another one:

Economic.Api.Exceptions.ServerException(E00000): An internal error has occurred.
answered Jun 14, 2013 by DrGM
After looking through our log, I can see that you are not passing in a CurrentInvoiceHandle to the CurrentInvoice_Book command.

This is the request you are sending (notice the empty element <ns1:CurrentInvoice_Book/>):

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://e-conomic.com"><SOAP-ENV:Body><ns1:CurrentInvoice_Book/></SOAP-ENV:Body></SOAP-ENV:Envelope>

Best regards,
Rasmus Beck
upps, to much Handles on the screen.
Now it works.
Visma e-conomic A/S