Potential error messages
4010: Invoice not found
Occurs if no invoice could be found with the given invoice number.
4011: Amount exceedes outstainding
Occurs if the payment amount exceeds the amount still outstanding on the invoice.
4012: Deposit account not found
Occurs if the configured deposit account could not be found, the deposit account is configured in Uhasibu -> settings -> sales-settings.
1007: Internal error
This is an unexpected error, and could indicate a bug in Uhasibu, if you see this bug occur then please report it to Uhasibu support.
1008: Amount must be larger than 0
Occurs if the amount given is not larger than 0.
1009: Invalid date
Occurs if the date given does not evaluate to a valid date.
1001: Invalid credentials
Occurs when no user is found within the given companyId using the login and password provided
1002: Missing access rights
Occurs when the user credentials provided does not have access-rights to use the required part of the system.
1003: Account expired
Occurs when the company is expired i.e. due to missing subscription payment.
1006: Requests method not supported
Occurs when the request is neither a POST nor GET HTTP request type