API status

Tax-releated errors

The Investment API returns synchronous order creation errors in the following cases:

Error codeDescription
UserNotFoundThe user cannot be found.
TaxExemptionNotFoundThe tax exemption cannot be found.
InvalidUserIDThe user ID is not valid.
InvalidTenantIDThe tenant ID is not valid.
InvalidTaxExemptionIDThe tax exemption ID is not valid.
InvalidUserIDsArrayThe user IDs list is not valid.
InvalidTaxExemptionAmountThe given tax exemption amount is invalid: it must be a number greater than zero and up to two decimal places.
AmountExceedsMaximumAllowedThe tax exemption amount exceeds the maximum allowance for the fiscal year.
InvalidCurrencyThe given currency is invalid or not supported.
TaxExemptionTypeNotSupportedThe given tax exemption type is invalid or not supported.
CountryNotSupportedThe given country is invalid or not supported.
ValidToDateLessThanCurrentYearThe valid_to_date year cannot be prior to the current fiscal year.
ValidToDateMustBeLastDayOfYearThe valid_to_date must be the last day of the fiscal year (YYYY-12-31).
TaxExemptionAlreadyExistsAn active tax exemption already exists for at least one affected user.
TaxExemptionNotActiveThe tax exemption is not in an active status.
TaxExemptionUtilisedThe tax exemption has already been utilised.
InternalErrorAn unexpected internal error occurred.