Tax-releated errors
The Investment API returns synchronous order creation errors in the following cases:
Error code | Description |
---|---|
UserNotFound | The user cannot be found. |
TaxExemptionNotFound | The tax exemption cannot be found. |
InvalidUserID | The user ID is not valid. |
InvalidTenantID | The tenant ID is not valid. |
InvalidTaxExemptionID | The tax exemption ID is not valid. |
InvalidUserIDsArray | The user IDs list is not valid. |
InvalidTaxExemptionAmount | The given tax exemption amount is invalid: it must be a number greater than zero and up to two decimal places. |
AmountExceedsMaximumAllowed | The tax exemption amount exceeds the maximum allowance for the fiscal year. |
InvalidCurrency | The given currency is invalid or not supported. |
TaxExemptionTypeNotSupported | The given tax exemption type is invalid or not supported. |
CountryNotSupported | The given country is invalid or not supported. |
ValidToDateLessThanCurrentYear | The valid_to_date year cannot be prior to the current fiscal year. |
ValidToDateMustBeLastDayOfYear | The valid_to_date must be the last day of the fiscal year (YYYY-12-31). |
TaxExemptionAlreadyExists | An active tax exemption already exists for at least one affected user. |
TaxExemptionNotActive | The tax exemption is not in an active status. |
TaxExemptionUtilised | The tax exemption has already been utilised. |
InternalError | An unexpected internal error occurred. |