def METHOD_NAME(cls, order):
    if order.status not in ORDER_EDITABLE_STATUS:
        code = error_codes.TaxExemptionManageErrorCode.NOT_EDITABLE_ORDER.value
        message = (
            "Tax exemption can be manage only on orders in "
            f"{ORDER_EDITABLE_STATUS} statuses."
        )
        raise ValidationError(code=code, message=message)