Symptom
When you post a Journal entry using the SAP Business One Connector you may receive the following exception text in the response XML returned from the connector web service.
10000415 - Enter valid code
Cause
The error occurs when you post a journal entry where the Debit and Credit amounts do not equalise.
Resolution
Ensure that the Debit and Credit amounts are equal.