Potential error messages
4005: Invalid work id(s)
Occurs if the ids were not all found/valid
4006: Currency not identiacal
Occurs if the id works do not all share the same currency - a particular invoice must be in one particular currency.
4007: Debtor not identical
Occurs if the list of work given belongs to different customers (debtors), one invoice can only be issued to one customer.
4008: Collection procedure steps not found
Occurs if the company does not have any collections procedure defined. All invoices are assigned the first collection procedure step initially.
4009: Work already invoiced
Occurs if one of the works have already been invoiced, if you need the same work on multiple invoices you should create it multiple times.
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
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